Skip to content

Conversation

kacperzolkiewski
Copy link
Collaborator

@kacperzolkiewski kacperzolkiewski commented Sep 29, 2025

Summary

Fixes: #2783

This PR fixes the emoji rendering:

Changes [emojiLabel.layer renderInContext:context] into [emojiLabel drawTextInRect:emojiLabel.bounds] to overcome emojis pixelation

Test Plan

Run example from issue: #2783 and check if emojis are pixelated.

Compatibility

OS Implemented
iOS
MacOS
Android
Web

Checklist

  • I have tested this on a device and a simulator
  • I added documentation in README.md
  • I updated the typed files (typescript)
  • I added a test for the API in the __tests__ folder

@TPXP
Copy link

TPXP commented Oct 1, 2025

After some testing with my updated reproduction, it seems the emoji position is flipped horizontally and emoji don't fit well with other text 😅

https://gist.github.com/TPXP/a2595d2f2f85c4524f470fc343787450

@TPXP
Copy link

TPXP commented Oct 12, 2025

This works well on my side too, thanks for fixing!

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.

Unicode Emojis are rendered at fixed size, causing blurry rendering if the SVG is small

2 participants