-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fraction display missing characters on macOS #165
Comments
Interestingly, I've tried with the same Firefox/macOS on two different M1/M2 macs in private windows to disable any local extensions, and still see the glyph render miss. If you right click a 2/3 fraction in Firefox and do "Inspect this element", it should bring up an inspector window where on the far right pane a "fonts" tab is selectable that should give you a "fonts used" view for the element (see here). When I do this in Firefox, I get just the first font, Lucida Grande. I suspect you may have another non-default font installed on your system in the font-family which gets picked up by Firefox—but for some reason not Safari? Another development: I checked the font rendering for Chrome on the system I initially used to report this, and it's using Cardo to render the fraction; after checking my system fonts I have Cardo installed on that system. Not sure why Safari or Firefox aren't using it. I checked a different machine which doesn't have Cardo installed, and Chrome also renders a missing glyph box on that system. So it seems like this may be related to something with macOS system font handling changing or becoming subtly broken (i.e. I really see no reason why Safari/Firefox don't use the installed Cardo font but Chrome does). |
On mine, it's falling through to IFAO-Grec Unicode. We should investigate setting up web fonts for more consistent rendering. I'm a little worried about coverage for the Ancient Greek Numbers and Ancient Symbols ranges in those though...after a little investigation, it looks like Noto Sans Symbols 2 (one of the Google fonts) supports them. It's the first one I've found that does. |
Noto Sans may well be good to have high on the list of default fonts for displaying Demotic letters with underdots and underlines etc. Have not checked everything yet for Demotic, but was looking promising. |
e.g. https://papyri.info/ddbdp/p.petaus;;11 with
<num value="2/3">𐅷</num>
, we now get a missing glyph box rendered in Firefox/Safari on latest macOS. Chrome seems fine. I believe this worked across all browsers before, so I'm not sure if it's upstream font stack handling that broke it.The text was updated successfully, but these errors were encountered: