Quote:
Originally Posted by JSWolf
But that's not what I want. I don't want a larger space between lines. I want a way to fix the bug.
|
Rather than using the slider to adjust line height to work around the bug, you might be able to alter the font metrics using
this methodology to ensure that
all Ascender/Ascent values be set to be equal, Descender/Descent value be set to be equal, and LineGap be set to zero. It fixed the problem I had with
Kurinto Text, so I decided to do the same with all my fonts and I haven't noticed the problem since.
It's easy to do in FontForge:
- Go to the Font Information window, go to the General section, take the Ascent value and then go to the Metrics tab of the OS/2 section and input it into the Win Ascent, Typo Ascent, and HHead Ascent fields.
- Do the same with the General section's Decent value with the Metrics tab's Win, Typo, and HHead Descent fields.
- Finally, set the Metrics tab's Typo Line Gap and HHead Line Gap fields to 0.
Or if you have Python, you can install
gftools and do the same with this command:
Code:
gftools fix-vertical-metrics -a ASCENT -d -DESCENT -l 0 FontName-Regular.ttf
Substituting the appropriate values for
ASCENT,
DESCENT, and
Font Name.
For font families, use the Ascent and Descent values from the Regular font face with the bold, italic, and bolditalic versions to make sure everything stays consistent.