7646dffe58
Let variable axes override existing or determine style information with priority over FreeType face flags or information from the OS/2 table. Add test case for matching a variable fonts through SkFontMgr_FCI to ensure the weight determination from variable axes is exercise. The test does not exercise width or slant. Add a small (~8.5k) subsetted Noto Sans CJK collection as a test font (made using [1]), and ensure that matching, reported font style and axis configuration are correct after matching. [1] https://github.com/drott/noto-cjk/blob/subsetVFttv/subsetvf.py Bug: skia:12864, skia:12881 Change-Id: I1fb05d88f68eda308b8864d32d98400c68e46834 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/500516 Commit-Queue: Dominik Röttsches <drott@chromium.org> Reviewed-by: Ben Wagner <bungeman@google.com> Auto-Submit: Dominik Röttsches <drott@chromium.org> Commit-Queue: Dominik Röttsches <drott@google.com> |
||
---|---|---|
.. | ||
abc | ||
svg | ||
7630.otf | ||
ahem.ttf | ||
cbdt.ttf | ||
colr.ttf | ||
colrv1_samples.ttf | ||
Distortable.ttf | ||
Em.ttf | ||
fonts.xml | ||
Funkster.ttf | ||
HangingS.ttf | ||
hintgasp.ttf | ||
more_samples-glyf_colr_1.ttf | ||
NotoSansCJK-VF-subset.otf.ttc | ||
planetcbdt.ttf | ||
planetcolr.ttf | ||
planetsbix.ttf | ||
ReallyBigA.ttf | ||
Roboto2-Regular_NoEmbed.ttf | ||
Roboto2-Regular.pfa | ||
Roboto2-Regular.pfb | ||
Roboto-Regular.ttf | ||
sbix.ttf | ||
SpiderSymbol.ttf | ||
Stroking.otf | ||
Stroking.ttf | ||
test.ttc | ||
Variable.ttf | ||
VaryAlongQuads.ttf |