I'm trying to establish where various items, in the descriptor of a downloaded Type 15 (TrueType Scalable) or Type 16 (Universal) PCL5 soft font, are obtained from within the donor TrueType font file, especially if the TTF file does not include a PCLT table (which, according to the OpenType specification, is strongly discouraged anyway).
In particular:
Style (MSB & LSB):
PCLT = PCLT.Style
other = ?
Cell Width:
PCLT = -
other = head.xMax - head.xMin ?
Cell Height:
PCLT = -
other = head.yMax - head.yMin ?
Pitch:
PCLT = PCLT.Pitch
other = ?
x-Height:
PCLT = PCLT.xHeight
other = OS/2.sxHeight ?
Width Type:
PCLT = PCLT.WidthType
other = OS/2.usWidthClass (not 1:1) ?
Stroke Weight:
PCLT = PCLT.StrokeWeight
other = OS/2.usWeightClass (not 1:1) ?
Typeface (MSB & LSB):
PCLT = PCLT.TypeFamily
other = ?
Serif Style:
PCLT = PCLT.SerifStyle
other = ?
Quality:
PCLT = -
other = always assume 2 (=LQ) ?
Text Height:
PCLT = -
other = ?
Text Width:
PCLT = -
other = ?
First Code:
PCLT = -
other = always 0x0020 for Font Type 2 ?
Last Code:
PCLT = -
other = always 0x00ff for Font Type 2 ?
Cap Height:
PCLT = PCLT.CapHeight
other = OS/2.sCapHeight ?
Font Number:
PCLT = PCLT.FontNumber
other = set to zero ?
Font Name:
PCLT = PCLT.Typeface
other = name.I1+ID2 (language-specific)
Master Underline Position:
PCLT = -
other = ?
Master Underline Thickness:
PCLT = -
other = ?
The official PCL5 Technical Reference manual (Chapter 11) is extremely vague about the source , or expected values, of these items for a TrueType format font.
Does anyone have any more useful documentation, information, etc.?
In particular:
Style (MSB & LSB):
PCLT = PCLT.Style
other = ?
Cell Width:
PCLT = -
other = head.xMax - head.xMin ?
Cell Height:
PCLT = -
other = head.yMax - head.yMin ?
Pitch:
PCLT = PCLT.Pitch
other = ?
x-Height:
PCLT = PCLT.xHeight
other = OS/2.sxHeight ?
Width Type:
PCLT = PCLT.WidthType
other = OS/2.usWidthClass (not 1:1) ?
Stroke Weight:
PCLT = PCLT.StrokeWeight
other = OS/2.usWeightClass (not 1:1) ?
Typeface (MSB & LSB):
PCLT = PCLT.TypeFamily
other = ?
Serif Style:
PCLT = PCLT.SerifStyle
other = ?
Quality:
PCLT = -
other = always assume 2 (=LQ) ?
Text Height:
PCLT = -
other = ?
Text Width:
PCLT = -
other = ?
First Code:
PCLT = -
other = always 0x0020 for Font Type 2 ?
Last Code:
PCLT = -
other = always 0x00ff for Font Type 2 ?
Cap Height:
PCLT = PCLT.CapHeight
other = OS/2.sCapHeight ?
Font Number:
PCLT = PCLT.FontNumber
other = set to zero ?
Font Name:
PCLT = PCLT.Typeface
other = name.I1+ID2 (language-specific)
Master Underline Position:
PCLT = -
other = ?
Master Underline Thickness:
PCLT = -
other = ?
The official PCL5 Technical Reference manual (Chapter 11) is extremely vague about the source , or expected values, of these items for a TrueType format font.
Does anyone have any more useful documentation, information, etc.?