30.06.2013 Views

The Adobe Type 1 Font Format book (PDF: 445 KB) - Adobe Partners

The Adobe Type 1 Font Format book (PDF: 445 KB) - Adobe Partners

The Adobe Type 1 Font Format book (PDF: 445 KB) - Adobe Partners

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Figure 6a. Character level stem hints (horizontal, vertical, and ghost<br />

stem hints)<br />

hstem<br />

hstem<br />

hstem<br />

vstem<br />

vstem<br />

vstem<br />

hstem<br />

hstem<br />

Horizontal and vertical stems Ghost stems<br />

hstem<br />

hstem<br />

Some hstem hints are necessary for interaction with the alignment<br />

zones declared through the BlueValues and OtherBlues<br />

hints. In order for a character’s vertical features to be considered<br />

for alignment control, that character must have an hstem hint<br />

specified at or in an alignment zone. In some characters this happens<br />

naturally. For example, in a capital letter “E,” there are at<br />

least three hstem hints declared for the three horizontal stems.<br />

<strong>The</strong> top stem’s hstem hint should reach up to the cap-height, and<br />

the bottom stem’s hstem hint should extend down to the baseline.<br />

<strong>The</strong>se two hstem hints interact naturally with normal<br />

alignment zones.<br />

In a sans serif capital letter “I”, however, there are no horizontal<br />

stems for these hstem hints. In order to have the cap-height and<br />

baseline alignments apply to this character as well, the character<br />

needs hstem hints for non-existent horizontal stems at these<br />

positions also. <strong>The</strong>se so-called “ghost” stems must be created<br />

with a stem height of 20 or 21—either is acceptable. <strong>The</strong>y must<br />

describe a y coordinate range that is inside the y coordinate range<br />

of the character, not above a top nor below a bottom.<br />

An hstem hint may not have its top at or in a top-zone and have<br />

its bottom at or in a bottom-zone. In the capital “I” example,<br />

there cannot be just one hstem hint that stretches from baseline<br />

to the cap-height line; instead one hstem should be at the capheight<br />

and another should be at the baseline.<br />

Chapter 6: CharStrings Dictionary 57

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

Saved successfully!

Ooh no, something went wrong!