mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 23:11:04 +01:00
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
18 lines
431 B
Plaintext
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
|