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

Mathematical signs are misaligned #80

Open
thlinard opened this issue Aug 23, 2020 · 12 comments
Open

Mathematical signs are misaligned #80

thlinard opened this issue Aug 23, 2020 · 12 comments
Assignees

Comments

@thlinard
Copy link

thlinard commented Aug 23, 2020

The horizontal bar of + − ÷ should be the same, and aligned vertically (in the middle) with × =.

Particularly visible for the Thin weight:
Roboto Thin

Additionally, the × has display issues at certain sizes or zoom in InDesign 2020. Example with the Regular:
Roboto Regular

@davelab6
Copy link
Member

@thlinard thanks for reporting this; which exact font files are you looking at to see this?

@dberlow points out < and > are different widths... And he and his team will fix all such issues. Please do report :)

Unlike what I said in googlefonts/roboto-flex#116 (comment) though, we will need to take care that these glyphs retain the same advance widths, but adjusting the glyph's vertical position within that space (or forms) is fine.

@davelab6
Copy link
Member

(I just spoke on the phone to @dberlow about this and he is also very grateful for your report, and will fix anything you can point at :)

@davelab6 davelab6 assigned dberlow and unassigned davelab6 Aug 24, 2020
@mikedug
Copy link
Contributor

mikedug commented Aug 24, 2020

just to add, I have not seen, nor can I repro the broken multiply sign in the Variable Roboto.

Thomas, can I ask, which font is showing this problem? Is the illustration you show, the Roboto Regular font rendering in InDesign?

@m4rc1e
Copy link
Collaborator

m4rc1e commented Aug 24, 2020

I think it's a rasteriser issue in Indesign, nothing to do with the font per se.

I was able to replicate it in Indesign but not in a browser.

dberlow added a commit that referenced this issue Aug 24, 2020
condensed and light space corrected,

bold and kin all still wrong.

See issue #80 report
@pichotta
Copy link

The /multiply might have an issue with the start point in the wdth axis. I can re-create it in typetools.typenetwork.com using a combination of wdth and opsz.

RobotoFlex multiply

@thlinard
Copy link
Author

thlinard commented Aug 24, 2020

My version is Roboto VF 3.002: https://github.com/google/fonts/tree/master/apache/roboto

I'm not very concerned with the display bug in InDesign: some fonts manage to work around it, if you can do that too, fine, otherwise too bad.

On the other hand the bad alignment (/multiply, /minus) worries me more.

@m4rc1e
Copy link
Collaborator

m4rc1e commented Aug 24, 2020

I'm not too concerned about this issue atm. The current v2.138 static fonts also have the same issue:

Screenshot 2020-08-24 at 15 58 49

https://fonts.google.com/specimen/Roboto?preview.text=%C3%97%C3%B7%E2%88%92&preview.text_type=custom

Not saying this issue shouldn't be fixed but it can happen once we've successfully pushed the v3.002 update.

@thlinard
Copy link
Author

thlinard commented Aug 24, 2020

It's up to you to decide which priority to give to the problem, but here is a more complete exposition, with ×<>+÷−¬=≠±≤≥.

Roboto Thin:
Roboto Thin

Roboto Black:
Roboto Black

The vertical alignment needs to be corrected, and the thickness (and somewhat the length) of the horizontal bar of +÷−¬=≠±≤≥ should be the same.

@thlinard
Copy link
Author

The same example in Encode Sans VF 3.002 (default or lnum feature) https://github.com/google/fonts/tree/master/ofl/encodesans

Encode Sans

@dberlow
Copy link
Contributor

dberlow commented Aug 24, 2020 via email

@thlinard
Copy link
Author

thlinard commented Jan 9, 2025

Roboto VF (at least version 3.09: https://fonts.google.com/specimen/Roboto) is available in the API, this issue can now be fixed!

@thlinard
Copy link
Author

thlinard commented Jan 9, 2025

Roboto v. 3.10, wght=100:

Image

Roboto v. 3.10, wght=900:

Image

Reference: Johannes Küster, Fonts for Mathematics

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

No branches or pull requests

6 participants