mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 07:21:06 +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
17 lines
394 B
Plaintext
17 lines
394 B
Plaintext
start transform 1 0 0 1 0 0
|
|
start clip rectangle 100 250 900 950
|
|
start transform 1 0 0 1 0 0
|
|
start clip glyph 10
|
|
start transform 1 0 0 1 0 0
|
|
linear gradient
|
|
p0 100 250
|
|
p1 1.3e+03 250
|
|
colors 1
|
|
0 255 0 0 255
|
|
1 0 0 255 255
|
|
end transform
|
|
end clip
|
|
end transform
|
|
end clip
|
|
end transform
|