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

wip: support render png colord emoji #21

Merged
merged 2 commits into from
May 7, 2024
Merged

wip: support render png colord emoji #21

merged 2 commits into from
May 7, 2024

Conversation

NoXF
Copy link
Collaborator

@NoXF NoXF commented Apr 22, 2024

  • GlyphBitmap changed to Enum and supported the type
  • add bitmap_png function, to create GlyphBitmap::PNG
  • add emoji_font_key used to determine whether char is an emoji
  • Only support for NotoColorEmoji was tested
let mut fontkit = FontKit::new();
let emoji = FontKey::new_with_family("Noto Color Emoji".to_string());
fontkit.set_emoji(emoji);

@CLAassistant
Copy link

CLAassistant commented Apr 22, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@zimond zimond merged commit 4f53002 into main May 7, 2024
0 of 5 checks passed
@zimond zimond deleted the noto-emoji branch June 3, 2024 05:27
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

3 participants