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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
42 <strong>Adobe</strong> <strong>Type</strong> 1 <strong>Font</strong> <strong>Format</strong><br />
5.9 Stem Width Information<br />
<strong>The</strong>re is a mechanism to tell <strong>Type</strong> 1 BuildChar about standard<br />
stem widths in a font so that <strong>Type</strong> 1 BuildChar can ensure consistency<br />
at small sizes. If a particular stem is slightly wider or<br />
narrower than standard, either by design or as a result of a small<br />
error in creating the font program, then at small sizes where a<br />
single pixel difference would be very noticeable, <strong>Type</strong> 1 Build-<br />
Char can render the stem as though it had the standard width.<br />
However, at large sizes where a single pixel difference will produce<br />
only a subtle visual effect, the stem will be allowed to<br />
deviate from the standard.<br />
When the difference between a standard stem width and a particular<br />
stem width is small, the standard width is used. For example,<br />
if at 10 points a standard stem width corresponds to 1.4 pixels<br />
wide and a particular stem is 1.6 pixels wide, both can be rendered<br />
as a 1-pixel wide stem. However, at 100 points the standard<br />
stem would be rendered as 14 pixels wide and the particular stem<br />
would be rendered as 16 pixels wide. <strong>The</strong> information that <strong>Type</strong><br />
1 BuildChar needs appears in the following Private dictionary<br />
entries.<br />
<strong>The</strong> entry StdHW is an array with only one real number entry<br />
expressing the dominant width of horizontal stems (measured<br />
vertically in character space units). For example:<br />
/StdHW [32] def<br />
<strong>The</strong> entry StdVW is an array with only one real number entry<br />
expressing the dominant width of vertical stems (measured horizontally<br />
in character space units). Typically, this will be the width<br />
of straight stems in lower case letters. (For an italic font program,<br />
give the width of the vertical stem measured at an angle perpendicular<br />
to the stem direction.) For example:<br />
/StdVW [85] def<br />
<strong>The</strong> entry StemSnapH is an array of up to 12 real numbers of the<br />
most common widths (including the dominant width given in<br />
the StdHW array) for horizontal stems (measured vertically).<br />
<strong>The</strong>se widths must be sorted in increasing order. For example:<br />
/StemSnapH [32 41] def