Page 1 of 1

Preview and sample shows wrong spacing at small sizes

Posted: Tue Oct 25, 2016 5:13 am
by nabsltd
In MainType 7.0.0, at font sizes smaller than 20 points, some fonts have incorrect spacing:
MainTypeSpacing.jpg
MainTypeSpacing.jpg (108.5 KiB) Viewed 1334 times
Microsoft Word showing samples of the same font, from 12 point to 22 point:
WinwordSpacing.jpg
WinwordSpacing.jpg (78.37 KiB) Viewed 1334 times
The actual text used doesn't change the behavior...I used a shorter sample on Word so it wouldn't take so many lines. This happens with dozens of fonts in my library...I'm sure there must be a few in every library.

Re: Preview and sample shows wrong spacing at small sizes

Posted: Tue Oct 25, 2016 8:27 am
by Erwin Denissen
The text control used in the preview is a default Windows control, so this is how Windows renders the font. I suspect the font contains bad hinting which reduces the advance width of glyphs at low point sizes. The Tiranti font is over 26 years old, so I'm not sure it is buggy or does meet today's standards.

The font shows just fine without hinting, as well as with autohinting:
Tiranti.png
Tiranti.png (4.97 KiB) Viewed 1330 times

Re: Preview and sample shows wrong spacing at small sizes

Posted: Tue Oct 25, 2016 6:42 pm
by nabsltd
Erwin Denissen wrote:The Tiranti font is over 26 years old, so I'm not sure it is buggy or does meet today's standards.

The font shows just fine without hinting, as well as with autohinting:
So, I guess I should add a request for a control to enable/disable hinting on the samples, along with the OpenType feature toggles.

Re: Preview and sample shows wrong spacing at small sizes

Posted: Tue Oct 25, 2016 6:47 pm
by Erwin Denissen
Sounds cool.