In the MS-Mincho and MS-Gothic fonts provided in the HP
LaserJet 4PJ, font metric calculation is somewhat easier
than for the Latin-based fonts. Width calculations are
easier because all characters of these fonts conform to one
of two different character widths at a particular point size.
The characters are either considered full-width or half-
width. One-byte characters are always half-width and
two-byte characters are always full-width.
Full-width characters occupy the entire EM width at a
particular point size. Half-width characters occupy half of
an EM width. The following equations show how to
calculate the EM width and character widths for a
full-width and a half-width character.
ppem = round (DeviceResolution * PointSize/72)
FullWidthDeltaX = round (ppem * PCLUnits/ DeviceResolution)
HalfWidthDeltaX=round ((ppem/2) * PCLUnits/DeviceResolution)
where:
ppem = EM width in pixels
DeviceResolution = current device resolution in dots per inch
(600 or 300dpi)
PointSize = point size requested
FullWidthDeltaX = character width of full-width character in PCL
Units
HalfWidthDeltaX = character width of half-width character in PCL
Units
PCLUnits = PCL Units
The PCL Unit of measure is explained in more detail in the
PCL 5 Technical Reference Manual. The default PCL Unit
size is 1/300th of an inch, but the Unit of Measure command
can be used to set the PCL Unit size to other values.
Note that HalfWidthDeltaX may not be exactly half of
FullWidthDeltaX because of rounding. For example, if
FullWidthDeltaX = round(99.0) = 99, then the
corresponding HalfWidthDeltaX = round(99.0/2) =
round(49.5) = 50.
Printer-Specific Differences 2-51
Summary of Contents for PCL 5
Page 8: ...Contents 4 ...
Page 174: ...5 8 Memory Usage ...
Page 198: ...A 24 Printer Commands ...
Page 201: ...8U Roman 8 R8 7J DeskTop DT Internal Symbol Set Charts B 3 ...
Page 202: ...0N ISO 8859 1 Latin 1 E1 19U Windows 3 1 Latin 1 W1 B 4 Internal Symbol Set Charts ...
Page 203: ...12U PC 850 Multilingual PM 10U PC 8 Code Page 437 PC Internal Symbol Set Charts B 5 ...
Page 204: ...12J MC Text MC 10J PS Text TS B 6 Internal Symbol Set Charts ...
Page 205: ...11U PC 8 Danish Norwegian PD 13J Ventura International VI Internal Symbol Set Charts B 7 ...
Page 206: ...1U Legal LG 14J Ventura US VU B 8 Internal Symbol Set Charts ...
Page 207: ...6J Microsoft Publishing PG 9U Windows 3 0 Latin 1 WO Internal Symbol Set Charts B 9 ...
Page 208: ...17U PC 852 Latin 2 PE 9T PC Turkish PT B 10 Internal Symbol Set Charts ...
Page 209: ...9E Windows 3 1 Latin 2 WE 2N ISO 8859 2 Latin 2 E2 Internal Symbol Set Charts B 11 ...
Page 210: ...5N ISO 8859 9 Latin 5 E5 5T Windows 3 1 Latin WT B 12 Internal Symbol Set Charts ...
Page 211: ...9J PC 1004 Code Page 1004 PU 26U PC 775 Code Page 775 PV Internal Symbol Set Charts B 13 ...
Page 212: ...19L Windows Baltic WL 6N ISO 8859 10 Latin 6 E6 B 14 Internal Symbol Set Charts ...
Page 213: ...6M Ventura Math VM 8M Math 8 M8 Internal Symbol Set Charts B 15 ...
Page 214: ...5M PS Math MS 15U Pi Font PI B 16 Internal Symbol Set Charts ...
Page 215: ...19M Symbol Font AS 579L Wingdings Font L Internal Symbol Set Charts B 17 ...
Page 216: ...9L Ventura ITC Zapf Dingbats DV 10L PS ITC Zapf Dingbats DS B 18 Internal Symbol Set Charts ...
Page 218: ...13L ITC Zapf Dingbats series 300 D3 B 20 Internal Symbol Set Charts ...
Page 221: ...Table B 2 Roman 8 Character Conversion Internal Symbol Set Charts B 23 ...
Page 222: ...Table B 2 Roman 8 Character Conversion continued B 24 Internal Symbol Set Charts ...
Page 223: ...Table B 2 Roman 8 Character Conversion continued Internal Symbol Set Charts B 25 ...
Page 224: ...Table B 2 Roman 8 Character Conversion continued B 26 Internal Symbol Set Charts ...
Page 225: ...Table B 2 Roman 8 Character Conversion continued Internal Symbol Set Charts B 27 ...
Page 226: ...Table B 2 Roman 8 Character Conversion continued B 28 Internal Symbol Set Charts ...
Page 227: ...Table B 2 Roman 8 Character Conversion continued Internal Symbol Set Charts B 29 ...
Page 228: ...B 30 Internal Symbol Set Charts ...