mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 17:01:17 +01:00
Detect the fill-glyph pattern in the COLRv1 graph: a PaintGlyph whose child is a (Var)PaintSolid, and emit a single fill_glyph instead of push_clip_glyph + color + pop_clip.
12 lines
273 B
Plaintext
12 lines
273 B
Plaintext
start transform 1 0 0 1 0 0
|
|
start clip rectangle 0 500 500 1e+03
|
|
push group
|
|
push group
|
|
start transform 1 0 0 1 0 0
|
|
fill glyph 159 solid 128 128 128 102
|
|
end transform
|
|
pop group mode 3
|
|
pop group mode 3
|
|
end clip
|
|
end transform
|