Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color emoji support for true type COLR version 0. that is, the simpler implementation #224

Merged
merged 7 commits into from
Aug 19, 2023

Conversation

galkahana
Copy link
Owner

Support for colorful emojis based on True Type Color version 0 support (the simpler one).

See discussion in #223 for more details.

As a side effect content contexts now have a SetOpacity operator to set an alpha value for drawing. The implementation is very much inspired by the opacity support of @chunyenHuang in hummusRecipe (now part of MuhammaraJS), with generating a minimal set of ExternalGState, and setting both filling and stroke (which makes it much easier to get it right).
The high level options object for drawing text and line art also contain an opacity factor now.

@galkahana galkahana merged commit 934f0aa into master Aug 19, 2023
2 checks passed
@galkahana galkahana deleted the galk.emoji.colr_0_table_support branch August 19, 2023 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant