Skip to content

Fix two emoji#167

Closed
MDLC01 wants to merge 1 commit into
typst:mainfrom
MDLC01:fix-emoji
Closed

Fix two emoji#167
MDLC01 wants to merge 1 commit into
typst:mainfrom
MDLC01:fix-emoji

Conversation

@MDLC01
Copy link
Copy Markdown
Collaborator

@MDLC01 MDLC01 commented May 13, 2026

Two emoji are missing a combining enclosing keycap component. With this fix, all emoji in emoji should be part of https://www.unicode.org/Public/17.0.0/emoji/emoji-test.txt, and more specifically https://unicode.org/emoji/charts/emoji-ordering.txt, which seems to only include fully-qualified forms and components.

Related: #166.

@T0mstone
Copy link
Copy Markdown
Collaborator

I think both are valid. https://www.unicode.org/Public/17.0.0/ucd/emoji/emoji-data.txt contains # and *, both in the basic Emoji category, and further down as an Emoji_Component.

As further evidence, here's a screenshot of a font rendering # and * with text presentation, emoji presentation, and emoji presentation + combining keycap
screenshot_1

So I think these should be new variants, perhaps hash.keycap and ast.keycap.

@MDLC01
Copy link
Copy Markdown
Collaborator Author

MDLC01 commented May 14, 2026

So I did a bit of research, and I think there is no exhaustive list of emoji. Meaning the absence of bare * and # from some data files indeed does not indicate that they aren't emoji.

I will close this PR and left some additional comments at #166 (comment) and typst/typst#8282 (comment).

@MDLC01 MDLC01 closed this May 14, 2026
@MDLC01 MDLC01 deleted the fix-emoji branch May 14, 2026 11:11
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.

2 participants