Behdad Esfahbod
0c80aec10b
[COLR] Move cycle-detection to the renderer instead of cairo
...
Alternative fix for https://github.com/harfbuzz/harfbuzz/issues/4375
2 years ago
Behdad Esfahbod
7d7541e35d
[test-paint] Print paint-color-glyph
2 years ago
Behdad Esfahbod
47231bdc70
[COLR/cairo/ft] Fixups to paint-color-glyph and implement for hb-ft
2 years ago
Behdad Esfahbod
58effbcc4f
.
2 years ago
Matthias Clasen
8d80d1dd18
[paint] Update expected test results
...
These tests were affected by recent fixes.
2 years ago
Khaled Hosny
910adc7e92
[test-paint] Update expectations
2 years ago
Matthias Clasen
cca0ed9bcd
test-paint: Add variable font tests
...
These needs freetype master to work.
2 years ago
Matthias Clasen
1cb5a87feb
test-pain: Print out extend for color lines
...
Update all expected results to include this value.
2 years ago
Matthias Clasen
6648e6e3e5
Add one more paint test
...
Add a test for the clip_box_top_left_glyph,
since we've seen broken rendering with it.
2 years ago
Matthias Clasen
d0108d31a2
Add more paint tests
...
These tests compare the output of the ft and ot
implementations for all the glyphs in the test_glyphs
font.
2 years ago
Matthias Clasen
5f976d86a7
test-paint: Use %.3g for results
...
This produces more readable output.
2 years ago
Matthias Clasen
ec78a486bf
Run paint tests at upem scale
...
This avoids problems with rouding.
2 years ago
Matthias Clasen
26f713a7f5
paint-test: Use larger scales
...
A scale of 20 is noise, so use 1000.
2 years ago
Matthias Clasen
ed7d0234e1
test-paint: Limit the precision of clip boxes
...
Update expected test results.
2 years ago
Matthias Clasen
10390ec5c6
Update expected test results
2 years ago
Matthias Clasen
d0aaea2319
Update test results for paint-test
...
These were affected by the PaintComposite optimization.
2 years ago
Matthias Clasen
9f3b59fe6b
Update expected test results
...
These need updates, because they record
every callback, and we've changed what
callbacks are happening.
2 years ago
Matthias Clasen
2a51567925
[paint] Add a test for recursion
2 years ago
Matthias Clasen
f9c865a899
Update test results
...
These were changed by the introduction of
clip boxes.
2 years ago
Matthias Clasen
8e197f50da
Add missing paint test results
2 years ago
Matthias Clasen
ee7bbdf372
tests: Update expected results
...
These were changed by fixes for glyph transforms.
2 years ago
Matthias Clasen
47dbebff39
[paint] Add COLRv0 tests
2 years ago
Matthias Clasen
71bd5a0dfc
[paint] Resolve colors
...
We don't need to pass the index/alpha pairs to
client callbacks, and can just resolve the colors
internally.
Update test results.
2 years ago
Matthias Clasen
9be01b6bff
[paint] Pass hb_paint_context_t along
...
Replace the font argument with a hb_paint_context_t
that carries the font, the palette index and the
foreground color.
The hb_font_paint_glyph() api now takes the palette
index and the foreground color as extra arguments.
Update all callers and regenerate test results.
2 years ago
Matthias Clasen
97224f3b63
[paint] Pass font to all callbacks
...
This will lead to easier implementations.
At the same time, we change the push_clip_glyph
callback to use the font as-is, no unscaling needed.
Update all callers and expected test results.
2 years ago
Matthias Clasen
30a6fd04d0
[colr] Add some tests
2 years ago