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

Text presentation of emoji #22

Open
schuelermine opened this issue Nov 23, 2023 · 4 comments
Open

Text presentation of emoji #22

schuelermine opened this issue Nov 23, 2023 · 4 comments

Comments

@schuelermine
Copy link

Description

For emoji which have a text presentation form, add a .text symbol property on the emoji member for that emoji for the text presentation form (with Variation Selector-15 added). For instance, emoji.crossmark.text would be ❌︎.

Use Case

I sometimes find myself wanting to use an emoji, for which the emoji module is great, but sometimes I prefer a plain text style. For instance, the ❌ emoji doesn’t have a well-fitting non-emoji character, but it does have a text presentation: ❌︎

@emilyyyylime
Copy link
Collaborator

emilyyyylime commented Nov 25, 2023

This requires support for multi-codepoint Symbols in the symbols! macro. @laurmaedje would it be okay if I pursue that? (Also, I think I'll just be taking the current list and dynamically adding all text variants) (though I don't really know how I would do that cleanly without breaking some abstractions)

@PgBiel
Copy link

PgBiel commented Nov 26, 2023

See also typst/typst#2448 (comment)

@laurmaedje
Copy link
Member

We should probably build support on the shaper side first before adding support on the symbol side.

@MDLC01
Copy link
Collaborator

MDLC01 commented Dec 14, 2024

This issue should probably be transferred to typst/codex.

@laurmaedje laurmaedje transferred this issue from typst/typst Dec 16, 2024
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

No branches or pull requests

5 participants