-
Notifications
You must be signed in to change notification settings - Fork 28
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
In PDF, $A$ and $\Alpha$ give identical glyphs. But not in browser. #611
Comments
whether the glyphs are the same or not is purely down to the font designer. There is no issue for |
I'd like to focus on the user experience. A diligent user might look at the package documentation http://mirrors.ctan.org/macros/unicodetex/latex/unicode-math/unicode-math.pdf, which is recommended for users. I've searched in that document for I note that the documentation states:
I fully support this facility being made available. Unicode is a widely used standard for the interchange of text files containing special characters. However, this Unicode editing faciliity is not so useful if the fonts used by the editing software use identical glyphs for:
It is a little odd that |
sorry I can not guess what you mean by this. the issue seems unrelated to unicode-math. glyphs are purely a font issue, and as far as I can see all OpenType math fonts have both U+1D6E2 𝛢 and U+1D434 𝐴. Whether or not these glyphs look the same depends on the font not any latex package. But for cultural and historic reasons I would guess they are the same in most fonts, so I doubt any user is surprised by that. |
@davidcarlisle wrote
Well said and most helpful. When I read and write in the Github issue tracker I see these two as distinct glyphs and so can tell the two code points apart. But first note that my main point and concern is that the user documentation tell the user that Back to the side issue. I will clarify my previous comment.
When you created your comment (as quoted about) you could visually check that the two code points are different, because they look different. This feature is of course useful for anyone authoring a LaTeX source document that uses these two code points in Unicode (as opposed to using However, my main point is that I'd like the user documentation to tell the user that |
You must be using different fonts, as they look the same here.
No.
That would be wrong. They produce the glyphs specified by the font desiger of the font the document author chooses. This package has no control over that. In the font I am seeing in this issue I and l are, as far as I can tell, identical. Do you expect latex to warn users of that as well? |
As David mentioned, this is a font design choice and unrelated to this package. |
Description
The unicode code points
are represented by what appear to be identical glyphs. Please note that my shell (on fedora) provides different glyphs for these two code points (see further details below).
The same goes for my browser, which is Firefox.[Edit: Add strike-though and following comment] My browser, which is Firefox, has the same problem when I preview this issue, but not when I am writing it.
Minimal example demonstrating the issue
Further details
This arise from a conversation on texhax, see: https://tug.org/pipermail/texhax/2023-April/026046.html
Most of the following comes from that post. Copy and paste from PDF to Python console (fedora) gives:
The text was updated successfully, but these errors were encountered: