-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
support Unicode Emoji variant selectors #3181
Comments
This is not something that MathJax controls. You don't say what OS or browser you are using (as requested in the issue template), but on my Mac OS, U+274C shows the colored version regardless of whether it is followed by U+FE0E or U+FE0F, or by neither one. This is being handled by the system text renderer, since U+274C is not in the MathJax fonts, so it is up to the system to properly handle these selectors. MathJax doesn't have any control over that, other than to pass them along to the system in this case. Of course, you should use |
You haven't said what version of MathJax you are using (since you haven't filled out the issue template, as requested when you start an issue), and the handling of unknown characters has been evolving over time. Version 4 groups these together, but version 3 only does if you set |
Is your feature request related to a problem? Please describe.
Unicode defines two variation selector characters, U+FE0E and U+FE0F, also respectively known as VS15 and VS16.
When VS15 is appended to a symbol, it forces it to be displayed as text (black and white glyph). Contrarily, when VS16 is appended, it forces the color version to be displayed (emoji).
Take monochrome version ❌︎ as the input of MathJax, the output is the color version ❌
Describe the solution you'd like
Take monochrome version ❌︎ as the input of MathJax, the output should remain monochrome.
The text was updated successfully, but these errors were encountered: