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
svg
7630.otf
ahem.ttf
cbdt.ttf
colr.ttf
colrv1_samples.ttf Add base outlines to colrv1 test font 2021-06-28 23:59:26 +00:00
Distortable.ttf
Em.ttf
fonts.xml
Funkster.ttf
HangingS.ttf
hintgasp.ttf
more_samples-glyf_colr_1.ttf Reland: [COLRv1] Support retrieving ClipBox. 2021-08-10 15:13:14 +00:00
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