Path: utzoo!utgpu!water!watmath!clyde!att!ucbvax!ucsfcgl!cca.ucsf.edu!daedalus!jw From: jw@daedalus (Pegasystems) Newsgroups: comp.text Subject: Re: Troff font names for PostScript fonts Keywords: DWB troff ditroff PostScript LWIINTX Message-ID: <1441@ucsfcca.ucsf.edu> Date: 26 Oct 88 10:21:11 GMT References: <570@ssp15.idca.tds.philips.nl> <1221@tmpmbx.UUCP> <520@mks.UUCP> Sender: root@cca.ucsf.edu Reply-To: jw@daedalus.UUCP (Pegasystems) Organization: UCSF Dept. of Lab Med Lines: 46 In article <520@mks.UUCP> alex@mks.UUCP (Alex White) writes: >In article <1221@tmpmbx.UUCP>, csch@tmpmbx.UUCP (Clemens Schrimpe) writes: >> jos@idca.tds.PHILIPS.nl (Jos Vos) writes: >> <> Can anybody give me some suggestions about the two-letter fontnames for >> <> [di]troff that I should assign to the 35 built-in fonts of the Apple >> >> I think they are all reasonable :-) > >Some people have strange ideas about reasonable. >If you use SoftQuad Publishing System (sqtroff) then you can use reasonable >length names... The following is from the postscript driver supplement: > >AGBI AvantGarde-BookOblique >AGBR AvantGarde-Book lines deleted >TR Times-Roman >ZCMI ZapfChancery-MediumItalic >ZDB ZapfDingbats > >You can use these names either with > .ft ZCMI >or > \f[ZCMI] >syntaxes. If you are using version 2 dwb, which is begining to be common, the long names may be used with a font name aliasing scheme which is not much documented yet but is in the release notes. the method used is an expansion of the .fp request to allow a third argument which is used to reference to font in the font tables while the second argument which is limited to 1 or 2 chars is used by the .ft and \f requests. ex: .fp 5 AG AGBR .fp 6 Q ZCMI .ft AG this is in AGBR\fQ and this in ZCMI As this may be used with fonts who are named with short names I find it to be usefull for nameing my fonts according to their function rather than their face. For example I might use the short name Q for the font that I use for quotes that way if it is decided to use another font at a later date to I can simply change the .fp line instead of the entire document, and I reap the added bonus that I use a mnumonic font name so that I don't need to keep a list of what font numbers are used for what function.