skia2/resources/fonts
Dominik Röttsches 2fa273eecf Reland: [COLRv1] Support retrieving ClipBox.
Reland after MSAN failure, initializing SkRect to empty in
computeColrV1GlyphBoundingBox().

After the discussion in [1] which was filed also in response to feedback
from Ben, the COLRv1 spec moved to not using a bounding box derived from
the `glyf` glyph for a give glyph id, but instead either use a ClipBox
found for a particular glyph id range from a ClipList array in the
COLRv1 table. If such a ClipBox is not found, perform a traversal of the
COLRv1 graph to compute the union of rectangles to compute a bounding
box.

[1] https://github.com/googlefonts/colr-gradients-spec/issues/251

Includes FreeType roll:
47b1a541cb..2c853b38a7

Fixed: skia:12297
Cq-Include-Trybots: luci.skia.skia.primary:Test-Android-Clang-GalaxyS6-GPU-MaliT760-arm64-Release-All-Android_NativeFonts, luci.skia.skia.primary:FM-Debian10-Clang-GCE-CPU-AVX2-x86_64-Release-All-MSAN
Change-Id: I165fb95c89045c4c7671af2cbe097af38ca65e84
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/437996
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
Auto-Submit: Dominik Röttsches <drott@chromium.org>
2021-08-10 15:13:14 +00:00
..
abc Font resolution: all unit tests working 2019-11-08 17:24:14 +00:00
svg Add planet emoji font. 2019-03-19 17:49:22 +00:00
7630.otf Avoid serializing to 'typ1' on Mac. 2018-03-09 15:03:20 +00:00
ahem.ttf Add ahem.ttf. 2020-05-13 16:32:52 +00:00
cbdt.ttf Add color fonts. 2018-03-28 20:14:44 +00:00
colr.ttf Add color fonts. 2018-03-28 20:14:44 +00:00
colrv1_samples.ttf Add base outlines to colrv1 test font 2021-06-28 23:59:26 +00:00
Distortable.ttf Add more variation support on Mac. 2019-12-13 18:16:13 +00:00
Em.ttf Add Em test font. 2015-05-29 08:42:21 -07:00
fonts.xml Add support for fallbackFor in Android parser. 2018-11-27 20:20:38 +00:00
Funkster.ttf Move resource fonts to common location. 2015-04-30 17:12:58 -04:00
HangingS.ttf Add HangingS.ttf to test large flourish caps. 2015-08-26 10:44:48 -07:00
hintgasp.ttf Use hintgasp font when testing rendering. 2016-07-12 06:55:25 -07:00
more_samples-glyf_colr_1.ttf Reland: [COLRv1] Support retrieving ClipBox. 2021-08-10 15:13:14 +00:00
planetcbdt.ttf Add planet emoji font. 2019-03-19 17:49:22 +00:00
planetcolr.ttf Add planet emoji font. 2019-03-19 17:49:22 +00:00
planetsbix.ttf Add planet emoji font. 2019-03-19 17:49:22 +00:00
ReallyBigA.ttf Move resource fonts to common location. 2015-04-30 17:12:58 -04:00
Roboto2-Regular_NoEmbed.ttf SkPDF: fall back on paths for unembeddable fonts. 2015-10-12 13:05:04 -07:00
Roboto2-Regular.pfa GM: add test for type1 font 2016-09-20 13:11:01 -07:00
Roboto2-Regular.pfb GM: add test for type1 font 2016-09-20 13:11:01 -07:00
Roboto-Regular.ttf [skottie] GM exercising external font loading 2018-09-20 19:05:35 +00:00
sbix.ttf Add color fonts. 2018-03-28 20:14:44 +00:00
SpiderSymbol.ttf Add cmap 3,0 (symbol) as Unicode fallback. 2015-06-05 13:38:12 -07:00
Stroking.otf Skip degenerate contours in glyphs. 2020-02-13 16:22:42 +00:00
Stroking.ttf Skip degenerate contours in glyphs. 2020-02-13 16:22:42 +00:00
test.ttc Move resource fonts to common location. 2015-04-30 17:12:58 -04:00
Variable.ttf Ensure variable font from data created at default. 2020-12-01 00:30:22 +00:00
VaryAlongQuads.ttf Ensure variable font from data created at default. 2020-12-01 00:30:22 +00:00