7.1.1 Font Type

The Type control contains the decimal representation of a 16-bit flag. The following list describes the significance of the bits in this flag. Bit 15 is the high-order bit of the high byte; bit 0 is the low-order bit of the low-order byte.

Bit Description

0 Specifies that the font is a scalable font if set; otherwise the font is a bitmap font.
1 Reserved; must be zero.
2 Specifies that character data is stored at the location specified by BitsOffset if set; otherwise the character data appears immediately after the header information. (This bit is only valid for font files that contain bitmap data.)
3–6 Reserved; must be zero.
7 Specifies that the font is a device font if set; otherwise the font is a GDI font.
8–15 Reserved; must be zero.

Note:

Version 1.0 of the Microsoft Windows Universal Printer Driver does not support scalable device fonts, so the Type value must be set to 128 for all device fonts.

Diconix 150 Plus

The device fonts for the Diconix printer are bitmapped fonts, therefore bit 0 is not set. Bit 1 is reserved and must be set to 0. Since the PFM file describes a device font and the bitmap character data does not appear in the PFM file, bit 2 is not set. Bits 3 through 6 are reserved and must be set to 0. The only bit set for any of the Diconix device fonts is bit 7. The decimal representation of the resultant 16-bit value is 128, which is the value that must be specified for version 1.0 of the Microsoft Windows Universal Printer Driver.