home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume24 / psroff3.0 / part15 / LJIII < prev   
Encoding:
Text File  |  1991-10-09  |  4.6 KB  |  92 lines

  1.         PSROFF RELEASE 3.0 LJIII 1.2 91/04/05
  2.  
  3.             Feb 19, 1991
  4.             Chris Lewis
  5.  
  6. This file describes some of the differences between the "lj" and "lj3"
  7. variants of psroff, and how you can make your older laserjet work
  8. better with better fonts.  The LASERFONTS file describes how to use
  9. TeX fonts to build reasonably useful fonts for laserjets.  This file
  10. describes the lj3 structure using the scalable typefaces on the lj3,
  11. and how this can be ported back to dumber laserjets.
  12.  
  13. The original laserjet support in psroff is based upon commonly available
  14. font sets from HP.  Which predated the Laserjet III.  This mechanism
  15. was based upon the Math-8 and Roman-8 symbol set.  To make things simpler,
  16. because Math-8 itself is a little rare, psroff includes a "Math-8" set
  17. that has been synthesized from TeX fonts at each of the 14 CAT troff
  18. sizes.  For best results you also need a set of the Roman, Italic
  19. and Bold fonts at the same sizes.  In Psroff, there is included a Roman
  20. Italic and Bold font at 10 points for you to play with.
  21.  
  22. However, since then the Laserjet III was released by HP.  There
  23. are two fundamental changes that this printer introduced: the first being
  24. that the printer contains scalable typefaces.  Thus, psroff can treat
  25. it almost like a Postscript printer, and not download at all.  The
  26. other being that these scalable typefaces and an IBM PC program
  27. to generate SFP's (HP Soft font format) at any given size is being
  28. sold as a quite inexpensive product.  It allows you to buy the
  29. HPLJ III fonts and build a complete set of softfonts for your older
  30. printer.
  31.  
  32. Further, the "DeskTop" symbolset available on LJIII's is a better match
  33. to what CAT Troff needs, so this is used instead of Roman-8 for the LJIII.
  34.  
  35. LJIII Structure:
  36.  
  37. There are two sets of widths for LJIII's, "lj3" and "lj3u".  The former
  38. has the Times font for R, I, B, X and S (Upright, Italic, Bold, BoldItalic
  39. and Symbol), and the latter has Univers for R, I, B, X and S.  When the
  40. font tables are built, the Times widths are cross-linked into the Univers
  41. area as TR, TI, TB and TX.  Similarly, the Univers fonts are cross-linked
  42. into the Roman area as UR, UI, UB and UX.  The Times S font is not available
  43. under Univers and vice-versa because troff can't handle two separate S fonts.
  44. This permits you to select what your base fonts should be, whether Times or
  45. Univers, at the same time the other fonts can be selected with ".fp"'s with
  46. the appropriate T or U prefix.  There are separate entries in the psrofflib
  47. file (selectable by different -T arguments to psroff) to select whether
  48. you want your base font as Times or Univers.
  49.  
  50. If you wish to add additional scalable typefaces, you should probably
  51. build a new family directory (widthlj3?), place the width files there,
  52. and modify the Makefile to cross-link these files into widthlj3 and
  53. widthlj3u.  Then add a new entry into psrofflib to use the new widths.
  54.  
  55. At present, there is no easy way to build width tables for extra scalable
  56. fonts - the supplied widths were built by an eclectic mix of perl and C
  57. programs on several different machines using the font metric files available
  58. from HP.  N.K. Krishnan (of HP, krishnan@iag.hp.com, did a lot of the hard
  59. work) and I could probably never reproduce the same set of steps again.
  60. Perhaps the simplest thing to do would be to copy an existing set and manually
  61. tweak them using the test sheet as a guide.
  62.  
  63. Zapf-Dingbats Cartridge/S2 font:
  64.  
  65. There is a scalable font cartridge that contains Zapf-Dingbats.  This
  66. fonts contains *real* \(bs, \(lh and \(rh.  The default psroff setup
  67. is to use a "sun" for bs, and =>/<= for rh/lh.  If you *really* want to
  68. use the "real" glyphs, you have to obtain the cartridge and follow these
  69. steps:
  70.     - edit lj3.fonts and lj3u.fonts and uncomment the 3 lines in
  71.       each that refer to bs/lh/rh.  This is described more precisely
  72.       in lj3[u].fonts.
  73.     - edit widths/widthlj3/S and widths/widthlj3u/S and *remove*
  74.       the three lines pertaining to bs, lh and rh.
  75.     - edit widths/widthlj3/DESC and widths/widthlj3u/DESC and
  76.       change the line:
  77.         fonts 5 R I B X S
  78.       to:
  79.         fonts 6 R I B X S S2
  80.  
  81. Using Scaled fonts on non-LJIII's:
  82.  
  83. If you obtain the scalable typefaces and the PC program, you can
  84. use the program to generate SFP's for each typeface at the CAT
  85. troff sizes.  You will want to build these fonts as Roman-8
  86. symbolsets.  Then, copy these files from your PC to your UNIX system
  87. that's running psroff.  (Don't forget to copy the files in *binary*
  88. mode!!!).  Follow the instructions in LASERFONTS on how to build
  89. and install these fonts and the new width tables etc.  Without some
  90. work you will not be able to use a MATH-8 font produced in this way
  91. without borrowing some of the overrides from lj3.fonts into lj.fonts.
  92.