Matthias Clasen
8d80d1dd18
[paint] Update expected test results
...
These tests were affected by recent fixes.
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
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
f9c865a899
Update test results
...
These were changed by the introduction of
clip boxes.
2 years ago
Matthias Clasen
ee7bbdf372
tests: Update expected results
...
These were changed by fixes for glyph transforms.
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