#@(#)lj.fonts 2.1 90/07/18 # four fields: # # troff-name english-name HPLJ-code-to-transmit flags # # \nnn sequences are only recognized in the HPLJ-code field. # Don't put in *any* extraneous spaces. # # The source flags is a string of characters up to 15 long, # where each character indicates where the font at a specific size # *is*, and the point sizes go from troff's lowest to highest. # The character mapping is: # # n: non existant - the lj driver will search "near" (+/- 4 # points) the requested pointsize in the same font, trying # to find an existing pointsize that is "close". # If it can't find one, the driver will select by # characteristic the font that was requested, letting # the printer figure it out. Which *will* work provided # that the characteristics *here* and in the downloaded # font are reasonable. # b: builtin - font is selected by *characteristic*, # and is either a ROM font/size, or a manually downloaded # one. I suggest that if you manually download fonts, # you select fontid's > 1000. (see below) # s: there is a SFP at LIBDIR/lib/lj/..sfp # where troffname is troff's name for a font. Eg: "R". # And pointsize is troff's point size. # p: there is a TeX PK format font file at # LIBDIR/lib/lj/..pk. # # SFP and PK's are downloaded automatically by the LJ driver. # # They are assigned a LJ fontid calculated by: # "index of the font in this table" * 16 + "index of pointsize" # (6 is 0, 7 is 1, 36 is 14.) # They are selected by this fontid. (eg: it doesn't matter if the # font descriptor in a SFP has the correct characteristics or not) # # If the source string is too short or omitted, the missing point # sizes are assumed "non-existent", unless DOWNLOAD is undefined, # in which case they're assumed builtin. # # +----------------------------- Symbol set # | +---------------------- 0=fixed, 1=proport # | | +-------------------- 0=upright, 1=italics # | | | +----------------- stroke weight -7...7 # | | | | +-------------- Typeface # | | | | | # | | | | | +----------- source flags... # | | | | | | # | | | | | v # | | | | | 678910 14 20 28 # | | | | | 11 16 22 36 # | | | | | 12 18 24 # | | | | | ||||||||||||||| # v v v v v vvvvvvvvvvvvvvv R Times-Roman \033(8U\033(s1p0s00b05T nnnnpnnnnnnnnnn I Times-Italic \033(8U\033(s1p1s-3b05T nnnnpnnnnnnnnnn B Times-Bold \033(8U\033(s1p0s03b05T nnnnpnnnnnnnnnn S Symbol \033(8M\033(s1p0s00b05T ppppppppppppppp BI Times-BoldItalic \033(8U\033(s1p1s03b05T nnnnnnnnnnnnnnn C Courier \033(8U\033(s0p0s00b03T nnnnbnbnnnnnnnn CI Courier-Italic \033(8U\033(s0p1s-3b03T nnnnbnbnnnnnnnn CB Courier-Bold \033(8U\033(s0p0s03b03T nnnnbnbnnnnnnnn L LinePrinter \033(8U\033(s0p0s00b00T nnnnnnnnnnnnnnn LI LinePrinter-Ital \033(8U\033(s0p1s-3b00T nnnnnnnnnnnnnnn LB LinePrinter-Bold \033(8U\033(s0p0s03b00T nnnnnnnnnnnnnnn H Helvetica-Roman \033(8U\033(s1p0s00b04T nnnnpnnnnnnnnnn HI Helvetica-Italic \033(8U\033(s1p1s-3b04T nnnnpnnnnnnnnnn HB Helvetica-Bold \033(8U\033(s1p0s03b04T nnnnnnnnnnnnnnn