PostScript hinting ↩
Hinting is the process to adjust the display of font outlines to fit the pixel matrix. At low screen resolutions, hinting is critical for producing accessible text. Postscript hinting parameters help the rasterizer to choose whether to suppress or not the rendering of subtle details, like rounds overshoots.
Postscript fonts allow the setup of a few parameters that can improve the performance of the rasterizer:
- The “zones” – magnetic horizontal bands
- BlueFuzz – sets tolerance in the zones
- BlueScale – sets the threshold for rendering an overshoot
- BlueShift – defines the minimum overshoot distance that can become visible
- Vertical and horizontal stems
The term “stems” does not follow the canonical typographical meaning. In hinting terminology, a stem could also be a round section. For example, a lowercase ‘o’ has two vertical stems and two horizontal stems.
If you want to know more about setting these parameters for your fonts, this talk by Miguel Sousa at RoboThon is highly advised
Consider that hints are discarded on Apple devices, so you’ll need to check the outcome of the postscript hinting parameters on a Windows or Linux machine.
These postscript hinting parameters can be set in the Postscript pane of the font info sheet.
If you need to read or write these parameters through the RoboFont API, you can refer to the UFO3 specs naming.
myFont = CurrentFont() myFont.info.postscriptBlueValues myFont.info.postscriptOtherBlues myFont.info.postscriptFamilyBlues myFont.info.postscriptFamilyOtherBlues myFont.info.postscriptStemSnapH myFont.info.postscriptStemSnapV myFont.info.postscriptBlueFuzz myFont.info.postscriptBlueShift myFont.info.postscriptBlueScale myFont.info.postscriptForceBold