/contrib/groff/src/devices/grolj4/lj4_font.man

https://bitbucket.org/freebsd/freebsd-head/ · Unknown · 167 lines · 164 code · 3 blank · 0 comment · 0 complexity · c515921f340f91db259cbfed2ebece46 MD5 · raw file

  1. .tr ~
  2. .ig
  3. Copyright (C) 2004 Free Software Foundation, Inc.
  4. Permission is granted to make and distribute verbatim copies of
  5. this manual provided the copyright notice and this permission notice
  6. are preserved on all copies.
  7. Permission is granted to copy and distribute modified versions of this
  8. manual under the conditions for verbatim copying, provided that the
  9. entire resulting derived work is distributed under the terms of a
  10. permission notice identical to this one.
  11. Permission is granted to copy and distribute translations of this
  12. manual into another language, under the above conditions for modified
  13. versions, except that this permission notice may be included in
  14. translations approved by the Free Software Foundation instead of in
  15. the original English.
  16. ..
  17. .\" Like TP, but if specified indent is more than half
  18. .\" the current line-length - indent, use the default indent.
  19. .de Tp
  20. .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
  21. .el .TP "\\$1"
  22. ..
  23. .tr ~
  24. .TH LJ4_FONT @MAN5EXT@ "@MDATE@" "Groff Version @VERSION@"
  25. .\" --------------------------------------------------------------------------
  26. .SH NAME
  27. .\" --------------------------------------------------------------------------
  28. lj4_font \- groff fonts for use with devlj4
  29. .\" --------------------------------------------------------------------------
  30. .SH DESCRIPTION
  31. .\" --------------------------------------------------------------------------
  32. Nominally, all Hewlett-Packard LaserJet~4\(enseries and newer printers
  33. have the same internal fonts: 45 scalable fonts and one bitmapped
  34. Lineprinter font.
  35. The scalable fonts are available in sizes between 0.25 point and 999.75
  36. points, in 0.25-point increments; the Lineprinter font is available only
  37. in 8.5-point size.
  38. .LP
  39. The LaserJet font files included with
  40. .B groff
  41. assume that all printers since the LaserJet~4 are identical.
  42. There are some differences between fonts in the earlier and more recent
  43. printers, however.
  44. The LaserJet~4 printer used Agfa Intellifont technology for 35 of the
  45. internal scalable fonts; the remaining 10 scalable fonts were TrueType.
  46. Beginning with the LaserJet~4000\(enseries printers introduced in 1997,
  47. all scalable internal fonts have been TrueType.
  48. The number of printable glyphs differs slightly between Intellifont and
  49. TrueType fonts (generally, the TrueType fonts include more glyphs), and
  50. there are some minor differences in glyph metrics.
  51. Differences among printer models are described in the
  52. .I "PCL~5 Comparison Guide"
  53. and the
  54. .I "PCL~5 Comparison Guide Addendum"
  55. (for printers introduced since approximately 2001).
  56. .LP
  57. LaserJet printers reference a glyph by a combination of a 256-glyph
  58. symbol set and an index within that symbol set.
  59. Many glyphs appear in more than one symbol set; all combinations of
  60. symbol set and index that reference the same glyph are equivalent.
  61. For each glyph,
  62. .BR hpftodit (@MAN1EXT@)
  63. searches a list of symbol sets, and selects the first set that contains
  64. the glyph.
  65. The printing code generated by
  66. .BR hpftodit (@MAN1EXT@)
  67. is an integer that encodes a numerical value for the symbol set in the
  68. high byte(s), and the index in the low byte.
  69. See
  70. .BR groff_font (@MAN5EXT@)
  71. for a complete description of the font file format; symbol sets are
  72. described in greater detail in the
  73. .IR "PCL~5 Printer Language Technical Reference Manual" .
  74. .LP
  75. Two of the scalable fonts, Symbol and Wingdings, are bound to
  76. 256-glyph symbol sets; the remaining scalable fonts, as well as the
  77. Lineprinter font, support numerous symbol sets, sufficient to enable
  78. printing of more than 600 glyphs.
  79. .LP
  80. The metrics generated by
  81. .BR hpftodit (@MAN1EXT@)
  82. assume that the DESC file contains values of 1200 for res and 6350 for
  83. unitwidth (or any combination (e.g., 2400 and 3175) for which
  84. res~\(mu~unitwidth~=~7\|620\|000).
  85. Although HP PCL~5 LaserJet printers support an internal resolution of
  86. 7200 units per inch, they use a 16-bit signed integer for cursor
  87. positioning; if
  88. .B devlj4
  89. is to support U.S. ledger paper (11\(sd~\(mu~17\(sd), the maximum usable
  90. resolution is 32\|767~/~17, or 1927, units per inch, which rounds down to
  91. 1200 units per inch.
  92. If the largest required paper size is less (e.g., 8.5\(sd~\(mu~11\(sd or
  93. A5), a greater resolution (and lesser unitwidth) can be specified.
  94. .\" --------------------------------------------------------------------------
  95. .SH LIMITATIONS
  96. .\" --------------------------------------------------------------------------
  97. Font metrics for Intellifont fonts were provided by Tagged Font Metric
  98. (TFM) files originally developed by Agfa/Compugraphic.
  99. The TFM files provided for these fonts supported 600+ glyphs and
  100. contained extensive lists of kern pairs.
  101. .LP
  102. To accommodate developers who had become accustomed to TFM files, HP also
  103. provided TFM files for the 10 TrueType fonts included in the LaserJet~4.
  104. The TFM files for TrueType fonts generally included less information
  105. than the Intellifont TFMs, supporting fewer glyphs, and in most cases,
  106. providing no kerning information.
  107. By the time the LaserJet~4000 printer was introduced, most
  108. developers had migrated to other means of obtaining font metrics,
  109. and support for new TFM files was very limited.
  110. The TFM files provided for the TrueType fonts in the LaserJet~4000
  111. support only the Latin 2 (ISO 8859-2) symbol set, and include no kerning
  112. information; consequently, they are of little value for any but the most
  113. rudimentary documents.
  114. .LP
  115. Because the Intellifont TFM files contain considerably more information,
  116. they generally are preferable to the TrueType TFM files even for use
  117. with the TrueType fonts in the newer printers.
  118. The metrics for the TrueType fonts are very close, though not identical,
  119. to those for the earlier Intellifont fonts of the same names.
  120. Although most output using the Intellifont metrics with the newer
  121. printers is quite acceptable, a few glyphs may fail to print as
  122. expected.
  123. The differences in glyph metrics may be particularly noticeable with
  124. composite parentheses, brackets, and braces used by
  125. .BR eqn (@MAN1EXT@) .
  126. A script, located in
  127. .BR @FONTDIR@/devlj4/generate ,
  128. can be used to adjust the metrics for these glyphs in the special font S
  129. for use with printers that have all TrueType fonts.
  130. .LP
  131. At the time HP last supported TFM files, only Version 1 of the Unicode
  132. standard was available.
  133. Consequently, many glyphs lacking assigned code points were assigned by
  134. HP to the Private Use Area (PUA).
  135. Later versions of the Unicode standard included code points outside the
  136. PUA for many of these glyphs.
  137. The HP-supplied TrueType TFM files use the PUA assignments;
  138. TFM files generated from more recent TrueType font files require the
  139. later Unicode values to access the same glyphs.
  140. Consequently, two different mapping files may be required: one for the
  141. HP-supplied TFM files, and one for more recent TFM files.
  142. .\" --------------------------------------------------------------------------
  143. .SH FILES
  144. .\" --------------------------------------------------------------------------
  145. .Tp \w'\fB@FONTDIR@/devlj4/DESC'u+2n
  146. .B @FONTDIR@/devlj4/DESC
  147. Device description file.
  148. .TP
  149. .BI @FONTDIR@/devlj4/ F
  150. Font description file for font
  151. .IR F .
  152. .\" --------------------------------------------------------------------------
  153. .SH "SEE ALSO"
  154. .\" --------------------------------------------------------------------------
  155. .ad 0
  156. .BR groff (@MAN1EXT@),
  157. .BR groff_diff (@MAN1EXT@),
  158. .BR hpftodit (@MAN1EXT@),
  159. .BR grolj4 (@MAN1EXT@),
  160. .BR groff_font (@MAN5EXT@)
  161. .
  162. .\" Local Variables:
  163. .\" mode: nroff
  164. .\" End: