Set win metrics to avoid clipping in MS Windows #150
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#148 solved vertical metrics across macOS, but it probably shouldn't have matched win metrics exactly to the others.
Today I checked Inter in Windows (with VMWare), in part because FontBakery was warning that the
winAscent
andwinDescent
metrics were too low.Sure enough, tall accents were clipping, even in a very recent version of Windows 10 and MS Word:
The somewhat-good news is, things are already working well in Edge:
The solution?
I followed FontBakery's advice and set
winAscent
to3072
andwinDescent
to764
. I left all other metrics as they were in the prior metrics PR.I worried that changing
winAscent
andwinDescent
might regress things on macOS, but as far as a test in Sketch shows, things are still working well.The remaining problem
Even though the win metrics haven't been changed that drastically, MS Word is now display it with a massive line height. Here's at line spacing of
1
:Compared to other fonts at the same settings, it becomes apparent how big the line height is with this change. Here's Segoe UI:
Things to test: