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

Noto Serif font minus sign misaligned #8765

Open
Arnache opened this issue Dec 20, 2024 · 8 comments
Open

Noto Serif font minus sign misaligned #8765

Arnache opened this issue Dec 20, 2024 · 8 comments

Comments

@Arnache
Copy link

Arnache commented Dec 20, 2024

The character U+2212 (minus sign) shoud be vertically aligned at the level of the horizontal bar of the plus sign + (and half way of the equal sign =). This is the case in the current Noto Sans font but not the case in the Noto Serif font.

@thlinard
Copy link
Contributor

thlinard commented Dec 20, 2024

Other issues (×<>+÷−¬=≠±):

  1. The minus issue is also found in Noto Sans Italic.
  2. For Noto Sans and Noto Serif, the + should be made of 2 bars of identical length. Once you have the correct dimension of the horizontal bar, you add two dots to it and you get the ÷, you duplicate it and you get the =, etc.
  3. The × should be a +, with the only difference being a 45° inclination (correct for Noto Sans, if its size is the same as that of the +).
  4. For Noto Serif (Roman and Italic), and Noto Sans Italic, there is a issue with ≠.
  5. Alignment could indeed be improved (× is too high for Noto Serif, < and > are too high for Noto Sans).
Image

@Arnache
Copy link
Author

Arnache commented Dec 20, 2024

  • It seems that Noto Serif has no "minus sign" glyph, though it has × + ÷ , which seems a bit surprising.
  • What I and thlinard got for the minus sign probably are replacement glyphs from another font by our systems.

@thlinard
Copy link
Contributor

  • It seems that Noto Serif has no "minus sign" glyph, though it has × + ÷ , which seems a bit surprising.

    • What I and thlinard got for the minus sign probably are replacement glyphs from another font by our systems.

No, the fonts have a minus glyph (coded U+2212), but it is only made of one component: the hyphen glyph.

@Arnache
Copy link
Author

Arnache commented Dec 20, 2024

No, the fonts have a minus glyph (coded U+2212), but it is only made of one component: the hyphen glyph.

Ah, thanks. How can I check this kind of things?

@thlinard
Copy link
Contributor

You can use a font editor. Btw, the demo version (unlimited in time) of FontLab is sufficient to do that.

@Arnache
Copy link
Author

Arnache commented Dec 20, 2024

You can use a font editor. Btw, the demo version (unlimited in time) of FontLab is sufficient to do that.

Thanks. I just opened my (up to date) Ubuntu's NotoSerif-Regular.ttf with FontForge and the Glyph for U+2212 MINUS SIGN is absent.

@simoncozens
Copy link
Collaborator

(up to date) Ubuntu's NotoSerif-Regular.ttf with FontForge and the Glyph for U+2212 MINUS SIGN is absent.

In which case, Ubuntu's Noto Serif is not up to date. :-)

@Arnache
Copy link
Author

Arnache commented Dec 21, 2024

(up to date) Ubuntu's NotoSerif-Regular.ttf with FontForge and the Glyph for U+2212 MINUS SIGN is absent.

In which case, Ubuntu's Noto Serif is not up to date. :-)

I just checked: the system's font file is indeed dated dec 26th 2020 while Ubuntu is Ubuntu 24.04.1 LTS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants