mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 07:21:06 +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.
8 lines
179 B
Plaintext
8 lines
179 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
|
|
fill glyph 154 solid 0 0 0 255
|
|
end transform
|
|
end clip
|
|
end transform
|