-
Dominik Röttsches authored
Shaping code relies on feature detection to determine whether the font has small-caps support or not. If not, small capitals are synthesized from uppercased letters with scaled-down font size. Add feature detection for AAT fonts on Mac. Now the shaping code can enable the built-in small-caps glyphs for a set of system font that have them. Tests: open_type_caps_support_test.cc unit test for feature detection, fast/text/small-caps-aat.html layout test. Bug: 900955 Change-Id: I9bb31719b0a1b5e81a428030cfdeaf91b8e6d17e Reviewed-on: https://chromium-review.googlesource.com/c/1353927 Commit-Queue: Dominik Röttsches <drott@chromium.org> Reviewed-by:
Emil A Eklund <eae@chromium.org> Reviewed-by:
Behdad Esfahbod <behdad@chromium.org> Cr-Commit-Position: refs/heads/master@{#612171}
b9385fec