Skip to content

Support emojis in sample (with caveats) #378#387

Merged
gkreitz merged 1 commit intoKattis:masterfrom
gkreitz:378_unicode_in_sample
Mar 18, 2026
Merged

Support emojis in sample (with caveats) #378#387
gkreitz merged 1 commit intoKattis:masterfrom
gkreitz:378_unicode_in_sample

Conversation

@gkreitz
Copy link
Contributor

@gkreitz gkreitz commented Feb 2, 2026

This is a pretty ugly workaround to get emojis almost working in sample data when rendering PDF:s. There is one annoying issue remaining - the unicode font we load isn't the same size monospace as the monospace font, which leads to emojis being rendered over adjacent characters.

Fixes #378

This is a pretty ugly workaround to get emojis almost working in sample
data when rendering PDF:s. There is one annoying issue remaining - the
unicode font we load isn't the same size monospace as the monospace
font, which leads to emojis being rendered over adjacent characters.
@gkreitz gkreitz merged commit 138a1f5 into Kattis:master Mar 18, 2026
5 checks passed
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.

Emoji support not working exactly as intended.

2 participants