HP 700 Cap Height UINT, Font Number UINT, Font Name ASC16, X Resolution UINT, Y Resolution UINT

Models: 700

1 124
Download 124 pages 26.67 Kb
Page 101
Image 101
11.2.31Cap Height (UINT)

Fonts

point font for a 300-ppi device would have a height of 166 (41.5 dots, or 9.96 points) and a Height Extended field of 170 (0.1660 dots additional, which adds to 9.9998 points). This field is similar to the Pitch Extended field (refer to the Pitch field example).

Scalable Font - This field is ignored and should be set to zero.

!

HP DeskJet 500 Series printers ignore this field. The HP DeskJet 600 and 85X Series

printers do not.

 

11.2.31Cap Height (UINT)

Cap height is a percentage of the Em of a font and is used to calculate the distance from the cap line (top of an unaccented, upper-case letter, e.g., “H”) to the baseline. An Em is a mea- sure in decipoints of the height of a font; e.g., the em of a 10-point font is 100 decipoints.

Bitmap Font - Fonts containing a 0 in this field are assumed to have a cap height percentage of 70.87% of em. The Cap Height data is represented as the product of the cap height per- centage and the maximum unsigned integer:

0.7087 x 65535 = 46445

For nonzero values the Cap Height percentage is calculated as follows:

% = (Cap Height Data /65535) x 100

Scalable Font - Contains the cap height in design window units (as defined in the Scale Fac- tor field).

11.2.32Font Number (UINT)

Bitmap Font - Should be ignored and set to 0.

11.2.33Font Name (ASC16)

This is a 16 byte ASCII character field in which the user may assign a font name.

11.2.34X Resolution (UINT)

In resolution-specified bitmap fonts, this field specifies the resolution of the font in the X dimension in dots per inch.

11.2.35Y Resolution (UINT)

In resolution-specified bitmap fonts, this field specifies the resolution of the font in the Y dimension in dots per inch.

HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide

101

Page 101
Image 101
HP 700, 800 manual Cap Height UINT, Font Number UINT, Font Name ASC16, X Resolution UINT, Y Resolution UINT