Skip to content

Conversation

@GilaZeus
Copy link

This PR fixes emoji rendering in geom_emoji() by explicitly setting both width and height on the underlying rasterGrob() using unit-based dimensions.

Previously, emoji size and aspect ratio could vary across devices and plots. By enforcing square dimensions in millimetres, emojis now render consistently.

Trade-off: Because emoji dimensions are now unit-based, users must specify size (or adjust default_aes) to control visible emoji size.

Documentation and examples were updated to clarify that the size aesthetic controls the emoji width and height in mm.

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.

1 participant