Commit Graph

2 Commits (f8ec04e4a34796b2de3366d91d3d32faf9f17975)

Author SHA1 Message Date
Cosimo Lupo 2188c2d237 also add soft-light to flags from emoji_aliases.txt 2022-01-24 18:06:46 +00:00
Cosimo Lupo 13892a930c only post-process soft-light for flags, border will be added in the input SVGs and thus in COLRv1 font
the border can be added directly to the input waved flags SVGs like a regular path, we don't need to use PaintComposite multiply operator, regular alpha blending produces the same effect since the border is a semi transparent shade of gray.

I renamed the script colrv1_add_soft_light_to_flags.py, and modified so that it doesn't require any additional glyphs to be present; an unbounded PaintLinearGradient is built on the fly and clipped using the flag as a mask (using SRC_IN compositing mode).
2022-01-19 10:52:28 +00:00