Files
harfbuzz/test/api/results-paint/test-92
T
Behdad Esfahbod 788706d568 [test] Normalize linear paint transcripts
Reduce linear gradient anchors and normalize color lines before
printing them in test-paint. This makes the transcript reflect the
renderer-facing gradient geometry instead of backend-specific raw
COLRv1 anchors and stop ranges.

Also normalize signed zero in transform output so the fixtures stay
stable across backends.

Testing:
CCACHE_DISABLE=1 meson test -C build test-paint --print-errorlogs

Assisted-by: OpenAI Codex
2026-05-27 12:40:44 +02:00

18 lines
431 B
Plaintext

start transform 1 0 0 1 0 0
start clip rectangle 0 0 1e+03 1e+03
start transform 1 0 0 1 0 0
start clip glyph 2
start transform 1 0 0 1 0 0
linear gradient
p0 0 1.02e+03
p1 307 1.02e+03
colors 2
0 0 128 0 255
0.5 255 255 255 255
1 255 0 0 255
end transform
end clip
end transform
end clip
end transform