1151497Sru.tr ~ 2151497Sru.ig 3151497SruCopyright (C) 2004 Free Software Foundation, Inc. 4151497Sru 5151497SruPermission is granted to make and distribute verbatim copies of 6151497Sruthis manual provided the copyright notice and this permission notice 7151497Sruare preserved on all copies. 8151497Sru 9151497SruPermission is granted to copy and distribute modified versions of this 10151497Srumanual under the conditions for verbatim copying, provided that the 11151497Sruentire resulting derived work is distributed under the terms of a 12151497Srupermission notice identical to this one. 13151497Sru 14151497SruPermission is granted to copy and distribute translations of this 15151497Srumanual into another language, under the above conditions for modified 16151497Sruversions, except that this permission notice may be included in 17151497Srutranslations approved by the Free Software Foundation instead of in 18151497Sruthe original English. 19151497Sru.. 20151497Sru.\" Like TP, but if specified indent is more than half 21151497Sru.\" the current line-length - indent, use the default indent. 22151497Sru.de Tp 23151497Sru.ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP 24151497Sru.el .TP "\\$1" 25151497Sru.. 26151497Sru.tr ~ 27151497Sru.TH LJ4_FONT @MAN5EXT@ "@MDATE@" "Groff Version @VERSION@" 28151497Sru.\" -------------------------------------------------------------------------- 29151497Sru.SH NAME 30151497Sru.\" -------------------------------------------------------------------------- 31151497Srulj4_font \- groff fonts for use with devlj4 32151497Sru.\" -------------------------------------------------------------------------- 33151497Sru.SH DESCRIPTION 34151497Sru.\" -------------------------------------------------------------------------- 35151497SruNominally, all Hewlett-Packard LaserJet~4\(enseries and newer printers 36151497Sruhave the same internal fonts: 45 scalable fonts and one bitmapped 37151497SruLineprinter font. 38151497SruThe scalable fonts are available in sizes between 0.25 point and 999.75 39151497Srupoints, in 0.25-point increments; the Lineprinter font is available only 40151497Sruin 8.5-point size. 41151497Sru.LP 42151497SruThe LaserJet font files included with 43151497Sru.B groff 44151497Sruassume that all printers since the LaserJet~4 are identical. 45151497SruThere are some differences between fonts in the earlier and more recent 46151497Sruprinters, however. 47151497SruThe LaserJet~4 printer used Agfa Intellifont technology for 35 of the 48151497Sruinternal scalable fonts; the remaining 10 scalable fonts were TrueType. 49151497SruBeginning with the LaserJet~4000\(enseries printers introduced in 1997, 50151497Sruall scalable internal fonts have been TrueType. 51151497SruThe number of printable glyphs differs slightly between Intellifont and 52151497SruTrueType fonts (generally, the TrueType fonts include more glyphs), and 53151497Sruthere are some minor differences in glyph metrics. 54151497SruDifferences among printer models are described in the 55151497Sru.I "PCL~5 Comparison Guide" 56151497Sruand the 57151497Sru.I "PCL~5 Comparison Guide Addendum" 58151497Sru(for printers introduced since approximately 2001). 59151497Sru.LP 60151497SruLaserJet printers reference a glyph by a combination of a 256-glyph 61151497Srusymbol set and an index within that symbol set. 62151497SruMany glyphs appear in more than one symbol set; all combinations of 63151497Srusymbol set and index that reference the same glyph are equivalent. 64151497SruFor each glyph, 65151497Sru.BR hpftodit (@MAN1EXT@) 66151497Srusearches a list of symbol sets, and selects the first set that contains 67151497Sruthe glyph. 68151497SruThe printing code generated by 69151497Sru.BR hpftodit (@MAN1EXT@) 70151497Sruis an integer that encodes a numerical value for the symbol set in the 71151497Sruhigh byte(s), and the index in the low byte. 72151497SruSee 73151497Sru.BR groff_font (@MAN5EXT@) 74151497Srufor a complete description of the font file format; symbol sets are 75151497Srudescribed in greater detail in the 76151497Sru.IR "PCL~5 Printer Language Technical Reference Manual" . 77151497Sru.LP 78151497SruTwo of the scalable fonts, Symbol and Wingdings, are bound to 79151497Sru256-glyph symbol sets; the remaining scalable fonts, as well as the 80151497SruLineprinter font, support numerous symbol sets, sufficient to enable 81151497Sruprinting of more than 600 glyphs. 82151497Sru.LP 83151497SruThe metrics generated by 84151497Sru.BR hpftodit (@MAN1EXT@) 85151497Sruassume that the DESC file contains values of 1200 for res and 6350 for 86151497Sruunitwidth (or any combination (e.g., 2400 and 3175) for which 87151497Srures~\(mu~unitwidth~=~7\|620\|000). 88151497SruAlthough HP PCL~5 LaserJet printers support an internal resolution of 89151497Sru7200 units per inch, they use a 16-bit signed integer for cursor 90151497Srupositioning; if 91151497Sru.B devlj4 92151497Sruis to support U.S. ledger paper (11\(sd~\(mu~17\(sd), the maximum usable 93151497Sruresolution is 32\|767~/~17, or 1927, units per inch, which rounds down to 94151497Sru1200 units per inch. 95151497SruIf the largest required paper size is less (e.g., 8.5\(sd~\(mu~11\(sd or 96151497SruA5), a greater resolution (and lesser unitwidth) can be specified. 97151497Sru.\" -------------------------------------------------------------------------- 98151497Sru.SH LIMITATIONS 99151497Sru.\" -------------------------------------------------------------------------- 100151497SruFont metrics for Intellifont fonts were provided by Tagged Font Metric 101151497Sru(TFM) files originally developed by Agfa/Compugraphic. 102151497SruThe TFM files provided for these fonts supported 600+ glyphs and 103151497Srucontained extensive lists of kern pairs. 104151497Sru.LP 105151497SruTo accommodate developers who had become accustomed to TFM files, HP also 106151497Sruprovided TFM files for the 10 TrueType fonts included in the LaserJet~4. 107151497SruThe TFM files for TrueType fonts generally included less information 108151497Sruthan the Intellifont TFMs, supporting fewer glyphs, and in most cases, 109151497Sruproviding no kerning information. 110151497SruBy the time the LaserJet~4000 printer was introduced, most 111151497Srudevelopers had migrated to other means of obtaining font metrics, 112151497Sruand support for new TFM files was very limited. 113151497SruThe TFM files provided for the TrueType fonts in the LaserJet~4000 114151497Srusupport only the Latin 2 (ISO 8859-2) symbol set, and include no kerning 115151497Sruinformation; consequently, they are of little value for any but the most 116151497Srurudimentary documents. 117151497Sru.LP 118151497SruBecause the Intellifont TFM files contain considerably more information, 119151497Sruthey generally are preferable to the TrueType TFM files even for use 120151497Sruwith the TrueType fonts in the newer printers. 121151497SruThe metrics for the TrueType fonts are very close, though not identical, 122151497Sruto those for the earlier Intellifont fonts of the same names. 123151497SruAlthough most output using the Intellifont metrics with the newer 124151497Sruprinters is quite acceptable, a few glyphs may fail to print as 125151497Sruexpected. 126151497SruThe differences in glyph metrics may be particularly noticeable with 127151497Srucomposite parentheses, brackets, and braces used by 128151497Sru.BR eqn (@MAN1EXT@) . 129151497SruA script, located in 130151497Sru.BR @FONTDIR@/devlj4/generate , 131151497Srucan be used to adjust the metrics for these glyphs in the special font S 132151497Srufor use with printers that have all TrueType fonts. 133151497Sru.LP 134151497SruAt the time HP last supported TFM files, only Version 1 of the Unicode 135151497Srustandard was available. 136151497SruConsequently, many glyphs lacking assigned code points were assigned by 137151497SruHP to the Private Use Area (PUA). 138151497SruLater versions of the Unicode standard included code points outside the 139151497SruPUA for many of these glyphs. 140151497SruThe HP-supplied TrueType TFM files use the PUA assignments; 141151497SruTFM files generated from more recent TrueType font files require the 142151497Srulater Unicode values to access the same glyphs. 143151497SruConsequently, two different mapping files may be required: one for the 144151497SruHP-supplied TFM files, and one for more recent TFM files. 145151497Sru.\" -------------------------------------------------------------------------- 146151497Sru.SH FILES 147151497Sru.\" -------------------------------------------------------------------------- 148151497Sru.Tp \w'\fB@FONTDIR@/devlj4/DESC'u+2n 149151497Sru.B @FONTDIR@/devlj4/DESC 150151497SruDevice description file. 151151497Sru.TP 152151497Sru.BI @FONTDIR@/devlj4/ F 153151497SruFont description file for font 154151497Sru.IR F . 155151497Sru.\" -------------------------------------------------------------------------- 156151497Sru.SH "SEE ALSO" 157151497Sru.\" -------------------------------------------------------------------------- 158151497Sru.ad 0 159151497Sru.BR groff (@MAN1EXT@), 160151497Sru.BR groff_diff (@MAN1EXT@), 161151497Sru.BR hpftodit (@MAN1EXT@), 162151497Sru.BR grolj4 (@MAN1EXT@), 163151497Sru.BR groff_font (@MAN5EXT@) 164151497Sru. 165151497Sru.\" Local Variables: 166151497Sru.\" mode: nroff 167151497Sru.\" End: 168