skia2/resources/fonts
Dominik Röttsches 2da029b28f [COLRv1] Map linear gradient extrema to [0, 1] range
Prepare data to Skia's linear gradient shader so that the extrema are
[0, 1] when the data in the font does not have them at these
positions. This is required for the shader to correctly compute repeat
modes.

Add the test font from the Google color fonts repo [1] with stops at [0,
1], [0.2, 0.8], [0, 1.5], [0.5, 1.5] respectively, compare[2].

[1] https://github.com/googlefonts/color-fonts/blob/main/fonts/more_samples-glyf_colr_1.ttf
[2] https://github.com/googlefonts/colr-gradients-spec/issues/281#issuecomment-828346428

Bug: skia:11922
Change-Id: Ic62a26911fa177af35ca16f183b5985d884237a5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/405717
Commit-Queue: Dominik Röttsches <drott@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2021-05-17 12:24:37 +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
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 Support PaintTranslate in COLRv1 rasterisation 2021-03-25 20:14:21 +00:00
Distortable.ttf Add more variation support on Mac. 2019-12-13 18:16:13 +00:00
Em.ttf
fonts.xml Add support for fallbackFor in Android parser. 2018-11-27 20:20:38 +00:00
Funkster.ttf
HangingS.ttf
hintgasp.ttf
more_samples-glyf_colr_1.ttf [COLRv1] Map linear gradient extrema to [0, 1] range 2021-05-17 12:24:37 +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
Roboto2-Regular_NoEmbed.ttf
Roboto2-Regular.pfa
Roboto2-Regular.pfb
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
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
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