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 Sans Arabic v2.011: FontBakery QA FAIL: OS/2.usWinAscent value should be equal or greater than 1431 #221

Closed
eliheuer opened this issue Nov 1, 2023 · 5 comments · Fixed by #212

Comments

@eliheuer
Copy link

eliheuer commented Nov 1, 2023

Font

Noto Sans Arabic v2.011

Where the font came from, and when

QA report from this PR: google/fonts#6859

Issue

There is one FontBakery vertical metrics fail, is there a good reason to ignore this? Or should it be fixed and the PR updated before merging?

🔥 FAIL: Checking OS/2 usWinAscent & usWinDescent. (com.google.fonts/check/family/win_ascent_and_descent)
🔥 FAIL OS/2.usWinAscent value should be equal or greater than 1431, but got 1374 instead [code: ascent]

I looked around in previous PRs and issue for this font, but couldn't find any prior discussion of this.

@simoncozens
Copy link
Contributor

simoncozens commented Nov 1, 2023

Generally speaking the good reason for ignoring vertical metrics fails is "Don't mess about with the vertical metrics of fonts which are already onboarded unless you're really sure you're not going to break things!" But there is an argument that with USE_TYPO_METRICS on, changing the OS/2 winAscent/winDescent is not going to break things. It just depends how sure you are and how brave you are... (When it comes to large and well-used families like Noto Sans Arabic, I tend to err on the side of cowardice caution.)

@eliheuer
Copy link
Author

eliheuer commented Nov 1, 2023

I'm not 100% sure fixing this fail is the right thing to do, so why don't we leave it for now. It can always be updated in a separate PR if a vertical metrics issues comes up.

I just needed an explantation for why the fail is being ignored.

@eliheuer
Copy link
Author

eliheuer commented Nov 1, 2023

Closing this for now

@eliheuer eliheuer closed this as not planned Won't fix, can't repro, duplicate, stale Nov 1, 2023
@khaledhosny
Copy link
Contributor

khaledhosny commented Nov 1, 2023

I think we should update the win metrics to avoid clipping on Windows (it will also change the line spacing in some windows apps but 🤷🏾).

@eliheuer eliheuer reopened this Nov 1, 2023
@eliheuer
Copy link
Author

eliheuer commented Nov 1, 2023

@khaledhosny Ok, I reopened this issue, that would be great if you want to make the change to be equal or greater than 1431.

It's only 57 units, and I can do some testing after Simon's pull request is merged to make sure this does not introduce any problems.

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

Successfully merging a pull request may close this issue.

3 participants