04.06.2013 Views

Glyphs-Handbook-2013

Glyphs-Handbook-2013

Glyphs-Handbook-2013

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

For an in-depth discussion, see:<br />

typophile.com/files/hinting.pdf,<br />

partners.adobe.com/public/<br />

developer/en/font/T1_SPEC.PDF<br />

(specifically pages 35 – 45) and<br />

vimeo.com/38364880.<br />

8 Hinting<br />

8.1 FONT-WIDE HINTING SETTINGS<br />

Before you do glyph-level hinting, you need to define a<br />

set of parameters that apply to all hinting throughout<br />

the font. These font-level hints are stored in the so-called<br />

‘PostScript Private Dictionary’ inside the exported font.<br />

This is why sometimes, these settings are referred to as<br />

‘private parameters’.<br />

8.1.1 Standard Stems<br />

The autohinter needs good standard stem values in order<br />

to recognize the stems and apply hints automatically.<br />

And the screen rasterizer can make use of these values to<br />

optimize the pixel rendering, especially synchronizing stem<br />

thicknesses across the whole font at low resolutions. Try to<br />

find representative values for your horizontal and vertical<br />

stem widths and enter them in the Masters tab of Edit > Font<br />

Info (Cmd-I). Theoretically, up to twelve width values can be<br />

considered for each direction, but try to use as few values as<br />

possible. Best practice is to use only two vertical values, one<br />

for lowercase and one for uppercase, e.g., the stem widths of<br />

lowercase i and uppercase I, or a representative value between<br />

the stem widths of i/I and the bowl widths of o/O. The same<br />

applies to horizontal stems, like the horizontal bars of t/T, f/F,<br />

e/E etc. The first value you enter is the most important one.<br />

Use a value that represents your most-used glyphs, typically<br />

the lowercase letters. Any values that follow are used for the<br />

StemSnapH and StemSnapV parameters, respectively.<br />

You can quickly measure the thickness if you select two<br />

nodes and take a look at the grey info box (Cmd-Shift-I). For<br />

instance, if you measure 68, 71, 72, 74, 75, 82, 83, 85 for your<br />

vertical stems, then you would pick 72 and 83 as standard<br />

vertical stems, because these are good median values for most<br />

of the stem measures.<br />

In a Multiple Master set-up, values in individual masters<br />

are interpolated, so make sure you enter the values in the<br />

same order in each master.<br />

8.1.2 Alignment Zones<br />

When your font is rendered with very few pixels on a<br />

computer screen, all the x-heights should align to the same<br />

<strong>Glyphs</strong> <strong>Handbook</strong>, May <strong>2013</strong> 67

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!