home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / clipart / gs22.zip / FONTMAP < prev    next >
Text File  |  1991-04-29  |  11KB  |  274 lines

  1. %    Copyright (C) 1990 Aladdin Enterprises.  All rights reserved.
  2. %    Distributed by Free Software Foundation, Inc.
  3. %
  4. % This file is part of Ghostscript.
  5. %
  6. % Ghostscript is distributed in the hope that it will be useful, but
  7. % WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
  8. % to anyone for the consequences of using it or for whether it serves any
  9. % particular purpose or works at all, unless he says so in writing.  Refer
  10. % to the Ghostscript General Public License for full details.
  11. %
  12. % Everyone is granted permission to copy, modify and redistribute
  13. % Ghostscript, but only under the conditions described in the Ghostscript
  14. % General Public License.  A copy of this license is supposed to have been
  15. % given to you along with Ghostscript so you can know your rights and
  16. % responsibilities.  It should be in a file named COPYING.  Among other
  17. % things, the copyright notice and this notice must be preserved on all
  18. % copies.
  19.  
  20. % ----------------------------------------------------------------
  21.  
  22. % This file is a catalog of fonts known to Ghostscript.  Any font to be
  23. % converted from BDF or Hershey to Ghostscript format, and any font
  24. % that is to be loaded automatically when named, must be in this catalog.
  25.  
  26. % Each font has an entry consisting of five items:
  27. %
  28. %    - The name by which the font is known inside Ghostscript
  29. %    (a Ghostscript literal name).  This is used to find the file
  30. %    from which a font of a given name should be loaded.
  31. %
  32. %    - The name of the Ghostscript font file (a Ghostscript string).
  33. %    The filename should include the extension, which (by convention)
  34. %    is `.gsf'.
  35. %
  36. %    - The encoding to be used with the font (a Ghostscript literal name).
  37. %    This is used only when converting the font.  Currently, the only
  38. %    defined encodings are `/StandardEncoding', `/ISOLatin1Encoding',
  39. %    and `/SymbolEncoding'.  If the font or the conversion program
  40. %    specifies the encoding itself, the encoding should be `null'
  41. %    (not `/null').
  42. %
  43. %    - The uniqueID of the font (an integer).  This is used to identify
  44. %    to identify distinct fonts within the Ghostscript font machinery.
  45. %    Since some P*stScr*pt programs assume that adding a small integer
  46. %    to a uniqueID produces a new, distinct, unused uniqueID,
  47. %    the uniqueID values in this file are all multiples of 10.
  48. %    To avoid some conflicts with Adobe's numbering scheme, the uniqueID
  49. %    values in this file all lie between 4200000 and 4299999.
  50. %    The uniqueID is also used only when converting the font.
  51. %       The algorithm for computing the UniqueID is given below.
  52. %
  53. %    - A terminating semicolon.
  54.  
  55. % Because of limitations in the MS-DOS environment, Ghostscript font
  56. % file names must be no more than 8 characters long, must consist only
  57. % of LOWER CASE letters, digits, and underscores, and must start with a
  58. % letter.  Font names, on the other hand, need only obey the syntax of
  59. % names in the Ghostscript language, which is much more liberal.
  60.  
  61. % The following table is actually a Ghostscript data structure.
  62. % If you add new entries, be sure to copy the punctuation accurately.
  63.  
  64.  
  65. % A UniqueID for a Ghostscript font looks like:
  66. % 4TTWVE0
  67. % where TT is a two-digit number representing the typeface,
  68. % W represents the weight (normal, bold, ...),
  69. % V represents the variant (normal, italic, oblique, ...), and
  70. % E represents the expansion (normal, condensed, ...).
  71. % This scheme will not work forever.  As soon there are more 99
  72. % typefaces, or more than 9 weights or variants, we will have to do
  73. % something else. But it suffices for the near future.
  74. % The filename for a font is constructed in a somewhat similar way:
  75. % FTTWVVVE.gsf
  76. % where F is the foundry, TT a two-letter abbreviation for the
  77. % typeface, and W, V, and E the weight, variant, and expansion.  Since a
  78. % font can have multiple variants, we allocate three letters to that
  79. % (for example, Lucida Regular Sans Typewriter Italic).  If a font has
  80. % four variants, you're on your own.  If a font does have multiple
  81. % variants, it's best to add the expansion letter `r', so that it is
  82. % clear which letters are variants and which the expansion.
  83. % This scheme is very close to the one proposed in `Filenames for
  84. % fonts', to be published in the first 1990 issue of TUGboat (the
  85. % journal of the TeX Users Group).
  86. % In the following tables, we made no attempt to be exhaustive. 
  87. % Instead, we have simply allocated entries for those things that we needed
  88. % for the fonts that we are actually distributing.
  89. %
  90. % foundries:
  91. % ----------------------------------------------------------------
  92. % b = Bitstream
  93. % p = Adobe (`p' for PostScript)
  94. % typefaces:
  95. % id   name              filename prefix
  96. % ----------------------------------------------------------------
  97. % 08 = Avant Garde        = pag        (Adobe)
  98. % 11 = Bookman            = pbk        (Adobe)
  99. % 01 = Charter            = bch        (Bitstream)
  100. % 02 = Courier            = pcr        (Adobe)
  101. % 03 = Helvetica        = phv        (Adobe)
  102. % 04 = New Century Schoolbook    = pnc        (Adobe)
  103. % 09 = Palatino            = ppl        (Adobe)
  104. % 05 = Symbol            = psy        (Adobe)
  105. % 06 = Times            = ptm        (Adobe)
  106. % 00 = Ugly            = ugly        (public domain)
  107. % 07 = Zapf Chancery        = zc        (public domain)
  108. % 10 = Zapf Dingbats        = pzd        (Adobe)
  109. %
  110. % 90 = Hershey Gothic English    = hrge
  111. % 91 = Hershey Gothic Italian    = hrit
  112. % 92 = Hershey Gothic German    = hrgr
  113. % 93 = Hershey Greek        = hrgk
  114. % 94 = Hershey Plain        = hrpl
  115. % 95 = Hershey Script        = hrsc
  116. % 96 = Hershey Symbol        = hrsy
  117. % weights:
  118. % 0 = normal            = r
  119. % 1 = bold            = b
  120. % 2 = book            = k
  121. % 3 = demi            = d
  122. % 4 = light            = l
  123. % variants:
  124. % 0 = normal            = r (omitted when the weight is normal)
  125. % 1 = italic            = i
  126. % 2 = oblique            = o
  127. %
  128. % expansions:
  129. % 0 = normal            = r (omitted when the weight and variant
  130. %                                    are normal)
  131. % 1 = narrow            = n
  132.  
  133.  
  134. % A homemade font.
  135.  
  136. /Ugly                (uglyr.gsf)    /StandardEncoding 4000000 ;
  137.  
  138.  
  139. % Fonts converted from bitmaps.
  140.  
  141. /AvantGarde-Book        (pagk.gsf)    /StandardEncoding 4082000 ;
  142. /AvantGarde-BookOblique        (pagko.gsf)    /StandardEncoding 4082200 ;
  143. /AvantGarde-Demi        (pagd.gsf)    /StandardEncoding 4083000 ;
  144. /AvantGarde-DemiOblique        (pagdo.gsf)    /StandardEncoding 4083200 ;
  145.  
  146. /Bookman-Light            (pbkl.gsf)    /StandardEncoding 4114000 ;
  147. /Bookman-LightItalic        (pbkli.gsf)    /StandardEncoding 4114100 ;
  148. /Bookman-Demi            (pbkd.gsf)    /StandardEncoding 4113000 ;
  149. /Bookman-DemiItalic        (pbkdi.gsf)    /StandardEncoding 4113100 ;
  150.  
  151. /Charter-Roman            (bchr.gsf)    /StandardEncoding 4010000 ;
  152. /Charter-Italic            (bchri.gsf)    /StandardEncoding 4010100 ;
  153. /Charter-Bold            (bchb.gsf)    /StandardEncoding 4011000 ;
  154. /Charter-BoldItalic        (bchbi.gsf)    /StandardEncoding 4011100 ;
  155.  
  156. /Courier            (pcrr.gsf)    /StandardEncoding 4020000 ;
  157. /Courier-Oblique        (pcrro.gsf)    /StandardEncoding 4020200 ;
  158. /Courier-Bold            (pcrb.gsf)    /StandardEncoding 4021000 ;
  159. /Courier-BoldOblique        (pcrbo.gsf)    /StandardEncoding 4021200 ;
  160.  
  161. /Helvetica            (phvr.gsf)    /StandardEncoding 4030000 ;
  162. /Helvetica-Oblique        (phvro.gsf)    /StandardEncoding 4030200 ;
  163. /Helvetica-Narrow        (phvrrn.gsf)    /StandardEncoding 4030310 ;
  164. /Helvetica-Bold            (phvb.gsf)    /StandardEncoding 4031000 ;
  165. /Helvetica-BoldOblique        (phvbo.gsf)    /StandardEncoding 4031200 ;
  166.  
  167. /NewCenturySchlbk-Roman        (pncr.gsf)    /StandardEncoding 4040000 ;
  168. /NewCenturySchlbk-Italic    (pncri.gsf)    /StandardEncoding 4040100 ;
  169. /NewCenturySchlbk-Bold        (pncb.gsf)    /StandardEncoding 4041000 ;
  170. /NewCenturySchlbk-BoldItalic    (pncbi.gsf)    /StandardEncoding 4041100 ;
  171.  
  172. /Palatino-Roman            (pplr.gsf)    /StandardEncoding 4090000 ;
  173. /Palatino-Italic        (pplri.gsf)    /StandardEncoding 4090100 ;
  174. /Palatino-Bold            (pplb.gsf)    /StandardEncoding 4091000 ;
  175. /Palatino-BoldItalic        (pplbi.gsf)    /StandardEncoding 4091100 ;
  176.  
  177. /Symbol                (psyr.gsf)    /SymbolEncoding   4050000 ;
  178.  
  179. /Times-Roman            (ptmr.gsf)    /StandardEncoding 4060000 ;
  180. /Times-Italic            (ptmri.gsf)    /StandardEncoding 4060100 ;
  181. /Times-Bold            (ptmb.gsf)    /StandardEncoding 4061000 ;
  182. /Times-BoldItalic        (ptmbi.gsf)    /StandardEncoding 4061100 ;
  183.  
  184. /ZapfChancery            (zcr.gsf)    /StandardEncoding 4070000 ;
  185. /ZapfChancery-Oblique        (zcro.gsf)    /StandardEncoding 4070200 ;
  186. /ZapfChancery-Bold        (zcb.gsf)    /StandardEncoding 4071000 ;
  187.  
  188. /ZapfDingbats            (pzdr.gsf)    /StandardEncoding 4100000 ;
  189.  
  190.  
  191. % Fonts converted from Hershey outlines.
  192. % The UniqueID's and filenames are constructed differently for
  193. % these than for the ones above, because of the strange way that the Hershey
  194. % fonts were constructed.  The scheme for these looks like:
  195. % 42TTXY0
  196. % TT = typeface, X = ``class'', Y = variation
  197. % The typeface numbers are given above.
  198. % class:
  199. % 0 = normal            = r
  200. % 1 = simplex            = s
  201. % 2 = complex            = c
  202. % 3 = triplex            = t
  203. % variation:
  204. % 0 = normal            (omitted)
  205. % 1 = oblique            = o
  206. % 2 = italic            = i
  207. % 3 = bold            = b
  208. % 4 = bold oblique        = bo
  209. % 5 = bold italic        = bi
  210.  
  211. /Hershey-Gothic-English        (hrge_r.gsf)    /StandardEncoding 4290000 ;
  212. /Hershey-Gothic-English-Bold    (hrge_rb.gsf)    /StandardEncoding 4290030 ;
  213. /Hershey-Gothic-English-Oblique    (hrge_ro.gsf)    /StandardEncoding 4290010 ;
  214.  
  215. /Hershey-Gothic-German        (hrgr_r.gsf)    /StandardEncoding 4291000 ;
  216. /Hershey-Gothic-German-Bold    (hrgr_rb.gsf)    /StandardEncoding 4291030 ;
  217. /Hershey-Gothic-German-Oblique    (hrgr_ro.gsf)    /StandardEncoding 4291010 ;
  218.  
  219. /Hershey-Gothic-Italian        (hrit_r.gsf)    /StandardEncoding 4292000 ; 
  220. /Hershey-Gothic-Italian-Bold    (hrit_rb.gsf)    /StandardEncoding 4292030 ;
  221. /Hershey-Gothic-Italian-Oblique    (hrit_ro.gsf)    /StandardEncoding 4292010 ;
  222.  
  223. /Hershey-Greek-Complex        (hrgk_c.gsf)    /StandardEncoding 4293200 ;
  224. /Hershey-Greek-Simplex        (hrgk_s.gsf)    /StandardEncoding 4293100 ;
  225.  
  226. /Hershey-Plain            (hrpl_r.gsf)    /StandardEncoding 4294000 ;
  227. /Hershey-Plain-Bold        (hrpl_rb.gsf)    /StandardEncoding 4294030 ;
  228. /Hershey-Plain-Oblique        (hrpl_ro.gsf)    /StandardEncoding 4294010 ;
  229. /Hershey-Plain-Simplex        (hrpl_s.gsf)    /StandardEncoding 4294100 ;
  230. /Hershey-Plain-Simplex-Bold    (hrpl_sb.gsf)    /StandardEncoding 4294130 ;
  231. /Hershey-Plain-Simplex-Bold-Oblique (hrpl_sbo.gsf) /StandardEncoding 4294140 ;
  232. /Hershey-Plain-Simplex-Oblique    (hrpl_so.gsf)    /StandardEncoding 4294110 ;
  233. /Hershey-Plain-Triplex        (hrpl_t.gsf)    /StandardEncoding 4294300 ;
  234. /Hershey-Plain-Triplex-Italic    (hrpl_ti.gsf)    /StandardEncoding 4294320 ;
  235. /Hershey-Plain-Triplex-Bold    (hrpl_tb.gsf)    /StandardEncoding 4294330 ;
  236. /Hershey-Plain-Triplex-Bold-Italic (hrpl_tbi.gsf) /StandardEncoding 4294350 ;
  237.  
  238. /Hershey-Script-Complex        (hrsc_c.gsf)    /StandardEncoding 4295200 ;
  239. /Hershey-Script-Complex-Bold    (hrsc_cb.gsf)    /StandardEncoding 4295230 ;
  240. /Hershey-Script-Complex-Oblique    (hrsc_co.gsf)   /StandardEncoding 4295210 ;
  241. /Hershey-Script-Simplex        (hrsc_s.gsf)    /StandardEncoding 4295100 ;
  242. /Hershey-Script-Simplex-Bold    (hrsc_sb.gsf)    /StandardEncoding 4295130 ;
  243. /Hershey-Script-Simplex-Oblique    (hrsc_so.gsf)    /StandardEncoding 4295110 ;
  244.  
  245. /Hershey-Symbol            (hrsy_r.gsf)    /SymbolEncoding   4296000 ;
  246.