If I understood it correctly, ttfautohint’s Blue Zone Reference Font performs a similar function to that of Glyphs’ Font Alignment Zones, which is to avoid height differences between different fonts of the same family at small sizes.
I’m exporting my fonts as TTFs. From my testing, autohinted CFF-based fonts respect the font alignment zones, whereas TrueType fonts do not. Is there any way to set the Blue Zone Reference Font from within Glyphs or should I autohint TTFs separately?
Working on Glyphs 2.4.4 and 2.5b (1127).
Do you really use ttfautohint? Then you may have more luck asking in the ttfauthint forum.
Oh, I thought Glyphs used ttfautohint when I checked Autohint + Save as TTF at export…
I do not use ttfautohint separately right now, only Glyphs.
Yes. Glyphs uses fftautohint. I just meant that about details of how to use it you might find more info there.
Ok, let me rephrase the issue.
I have my glyphs file set up as follows. Notice the Family Alignment Zones parameter.
I exported the fonts in 3 different ways.
- In the first example, the fonts were exported as OpenType PS (.otf). The result honors the Family Alignment Zones.
- In the second example, the fonts were exported as OpenType TT (.ttf). The result does not honor Family Alignment Zones, as the bold weight gets rendered taller than the regular. I’m guessing Family Alignment Zones only works on PS hinting.
- In the last example, the fonts were exported as OpenType TT (.tff) unhinted. Later on I ran ttfautohint on the fonts from Terminal using the
These were the commands I ran on terminal:
ttfautohint Graviola-Regular.ttf Graviola-Regular-hinted.ttf
ttfautohint --reference Graviola-Regular-hinted.ttf Graviola-Bold.ttf Graviola-Bold-hinted.ttf
How can I achieve the result on the third example using Glyphs only? Is there a parameter I can add to my fonts so the Glyphs’ version of ttfautohint knows which instance should be used as Blue Zone Reference Font?