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

Variation selectors #25

Open
T0mstone opened this issue Jan 4, 2025 · 0 comments
Open

Variation selectors #25

T0mstone opened this issue Jan 4, 2025 · 0 comments
Labels
multi-character symbols This requires multi-code point symbols

Comments

@T0mstone
Copy link
Collaborator

T0mstone commented Jan 4, 2025

Some symbols have both a text style and an emoji style. These can be explicitly selected with Variation Selectors 15 and 16 (U+FE0E and U+FE0F), respectively.

Without these, there are currently (as of 35c18a1) the following duplicates between sym and emoji:

  • sym.hash, emoji.hash
  • sym.ast.basic, emoji.ast
  • sym.copyright, emoji.copyright
  • sym.trademark, emoji.tm
  • sym.trademark.registered, emoji.reg
  • sym.excl.{double, quest}, emoji.excl.{double, quest}
  • sym.arrow.{l.r, t.b, tl, tr, bl, br, {l, r}.hook, {l, r, t, b}.filled, {t, b}.curve}, emoji.arrow.{l.r, t.b, tl, tr, bl, br, {l, r}.hook, {l, r, t, b}.filled, {t, b}.curve}
  • sym.square.filled.big, emoji.square.black
  • sym.square.filled.{tiny, small, medium}, emoji.square.black.{tiny, small, medium}
  • sym.square.stroked.big, emoji.square.white
  • sym.square.stroked.{tiny, small, medium}, emoji.square.white.{tiny, small, medium}
  • sym.triangle.filled.{l, r}, emoji.triangle.{l, r}
  • sym.ballot.check, emoji.ballot.check
  • sym.suit.{spade, club, heart, diamond}.filled, emoji.suit.{spade, club, heart, diamond}
  • sym.checkmark.heavy, emoji.checkmark.heavy
  • sym.dash.wave.double, emoji.dash.wave.double

I haven't looked into which of the styles is the default for each of them, but we should probably give variation selectors to both sides to avoid ambiguity.

Prior work: #21, #23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multi-character symbols This requires multi-code point symbols
Projects
None yet
Development

No branches or pull requests

2 participants