
%   This is the version of FONTMAP we should be able to use.
%   Residing in the PostScript font directory, it accesses the
%   actual font files in subdirectories beneath the master
%   GhostScript support directory.  Unfortunately, ads_findfile()
%   has a little problem with brain death--if you specify a directory
%   prefix on a file, *EVEN IF IT IS RELATIVE*, ads_findfile refuses
%   to search the path.  Consequently, we're forced to name all the
%   font subdirectories on the ACAD environment variable and reference
%   them without directory prefixes.  See FONTMAP.PS for the file we're
%   forced to use instead.

%    Copyright (C) 1990 Aladdin Enterprises.  All rights reserved.
%    Distributed by Free Software Foundation, Inc.
%
% This file is part of Ghostscript.
%
% Ghostscript is distributed in the hope that it will be useful, but
% WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
% to anyone for the consequences of using it or for whether it serves any
% particular purpose or works at all, unless he says so in writing.  Refer
% to the Ghostscript General Public License for full details.
%
% Everyone is granted permission to copy, modify and redistribute
% Ghostscript, but only under the conditions described in the Ghostscript
% General Public License.  A copy of this license is supposed to have been
% given to you along with Ghostscript so you can know your rights and
% responsibilities.  It should be in a file named COPYING.  Among other
% things, the copyright notice and this notice must be preserved on all
% copies.

% ----------------------------------------------------------------

% This file is a catalog of fonts known to Ghostscript.  Any font to be
% converted from BDF or Hershey to Ghostscript format, and any font
% that is to be loaded automatically when named, must be in this catalog.

% Each font has an entry consisting of five items:
%
%       - The name by which the font is known inside Ghostscript
%       (a Ghostscript literal name).  This is used to find the file
%       from which a font of a given name should be loaded.
%
%       - The name of the Ghostscript font file (a Ghostscript string).
%       The filename should include the extension, which (by convention)
%       is `.gsf'.
%
%       - The encoding to be used with the font (a Ghostscript literal name).
%       This is used only when converting the font.  Currently, the only
%       defined encodings are `/StandardEncoding' and `/SymbolEncoding'.
%       If the font or the conversion program specifies the encoding itself,
%       the encoding should be `null' (not `/null').
%
%       - The uniqueID of the font (an integer).  This is used to identify
%       to identify distinct fonts within the Ghostscript font machinery.
%       Since some P*stScr*pt programs assume that adding a small integer
%       to a uniqueID produces a new, distinct, unused uniqueID,
%       the uniqueID values in this file are all multiples of 10.
%       To avoid some conflicts with Adobe's numbering scheme, the uniqueID
%       values in this file all lie between 4200000 and 4299999.
%       The uniqueID is also used only when converting the font.
%       The algorithm for computing the UniqueID is given below.
%
%       - A terminating semicolon.

% Because of limitations in the MS-DOS environment, Ghostscript font
% file names must be no more than 8 characters long, must consist only
% of LOWER CASE letters, digits, and underscores, and must start with a
% letter.  Font names, on the other hand, need only obey the syntax of
% names in the Ghostscript language, which is much more liberal.

% The following table is actually a Ghostscript data structure.
% If you add new entries, be sure to copy the punctuation accurately.

% A UniqueID for a Ghostscript font looks like:

% 4TTWVE0

% where TT is a two-digit number representing the typeface,
% W represents the weight (normal, bold, ...),
% V represents the variant (normal, italic, oblique, ...), and
% E represents the expansion (normal, condensed, ...).
% This scheme will not work forever.  As soon there are more 99
% typefaces, or more than 9 weights or variants, we will have to do
% something else. But it suffices for the near future.

% The filename for a font is constructed in a somewhat similar way:

% FTTWVVVE.gsf

% where F is the foundry, TT a two-letter abbreviation for the
% typeface, and W, V, and E the weight, variant, and expansion.  Since a
% font can have multiple variants, we allocate three letters to that
% (for example, Lucida Regular Sans Typewriter Italic).  If a font has
% four variants, you're on your own.  If a font does have multiple
% variants, it's best to add the expansion letter `r', so that it is
% clear which letters are variants and which the expansion.

% This scheme is very close to the one proposed in `Filenames for
% fonts', to be published in the first 1990 issue of TUGboat (the
% journal of the TeX Users Group).

% In the following tables, we made no attempt to be exhaustive. 
% Instead, we have simply allocated entries for those things that we needed
% for the fonts that we are actually distributing.

% foundries:
% ----------------------------------------------------------------
% b = Bitstream
% p = Adobe (`p' for PostScript)

% typefaces:
% id   name                       filename prefix
% ----------------------------------------------------------------
% 08 = Avant Garde              = pag           (Adobe)
% 11 = Bookman                  = pbk           (Adobe)
% 01 = Charter                  = bch           (Bitstream)
% 02 = Courier                  = pcr           (Adobe)
% 03 = Helvetica                = phv           (Adobe)
% 04 = New Century Schoolbook   = pnc           (Adobe)
% 09 = Palatino                 = ppl           (Adobe)
% 05 = Symbol                   = psy           (Adobe)
% 06 = Times                    = ptm           (Adobe)
% 00 = Ugly                     = ugly          (public domain)
% 07 = Zapf Chancery            = zc            (public domain)
% 10 = Zapf Dingbats            = pzd           (Adobe)

% 90 = Hershey Gothic English   = hrge
% 91 = Hershey Gothic Italian   = hrit
% 92 = Hershey Gothic German    = hrgr
% 93 = Hershey Greek            = hrgk
% 94 = Hershey Plain            = hrpl
% 95 = Hershey Script           = hrsc
% 96 = Hershey Symbol           = hrsy

% weights:
% 0 = normal                    = r
% 1 = bold                      = b
% 2 = book                      = k
% 3 = demi                      = d
% 4 = light                     = l

% variants:
% 0 = normal                    = r (omitted when the weight is normal)
% 1 = italic                    = i
% 2 = oblique                   = o

% expansions:
% 0 = normal                    = r (omitted when the weight and variant

% 1 = narrow                    = n

% A homemade font.
 
/Ugly                           (gsfonts/gs/uglyr.gsf)     /StandardEncoding 4000000 ;

% Fonts converted from Adobe Type 1 fonts.  The following, which reside in
% the "adobe" subdiectory, were created from the Adobe fonts supplied with
% Adobe Type Manager for Windows, the Plus Pack, and Font Pack 1.  These
% fonts can be distributed *only* if the user owns copies of the Adobe
% fonts.

/AvantGarde-Demi              (gsfonts/adobe/agd.gsf)   /StandardEncoding 27044 ;
/AvantGarde-DemiOblique       (gsfonts/adobe/agdo.gsf)  /StandardEncoding 27049 ;
/AvantGarde-Book              (gsfonts/adobe/agw.gsf)   /StandardEncoding 27030 ;
/AvantGarde-BookOblique       (gsfonts/adobe/agwo.gsf)  /StandardEncoding 27035 ;
/Bodoni-Poster                (gsfonts/adobe/bdps.gsf)  /StandardEncoding 31547 ;
/Bookman-Demi                 (gsfonts/adobe/bkd.gsf)   /StandardEncoding 26183 ;
/Bookman-DemiItalic           (gsfonts/adobe/bkdi.gsf)  /StandardEncoding 26184 ;
/Bookman-Light                (gsfonts/adobe/bkl.gsf)   /StandardEncoding 26185 ;
/Bookman-LightItalic          (gsfonts/adobe/bkli.gsf)  /StandardEncoding 26186 ;
/Cottonwood                   (gsfonts/adobe/c.gsf)     /StandardEncoding 27255 ;
/Courier-Bold                 (gsfonts/adobe/cob.gsf)   /StandardEncoding 27058 ;
/Courier-BoldOblique          (gsfonts/adobe/cobo.gsf)  /StandardEncoding 27068 ;
/Courier                      (gsfonts/adobe/com.gsf)   /StandardEncoding 27077 ;
/Courier-Oblique              (gsfonts/adobe/coo.gsf)   /StandardEncoding 27082 ;
/FreestyleScript              (gsfonts/adobe/fs.gsf)    /StandardEncoding 6289 ;
/Helvetica                    (gsfonts/adobe/hv.gsf)    /StandardEncoding 28352 ;
/Helvetica-Bold               (gsfonts/adobe/hvb.gsf)   /StandardEncoding 28357 ;
/Helvetica-BoldOblique        (gsfonts/adobe/hvbo.gsf)  /StandardEncoding 28371 ;
/Helvetica-Narrow             (gsfonts/adobe/hvn.gsf)   /StandardEncoding 28380 ;
/Helvetica-Narrow-Bold        (gsfonts/adobe/hvnb.gsf)  /StandardEncoding 28398 ;
/Helvetica-Narrow-BoldOblique (gsfonts/adobe/hvnbo.gsf) /StandardEncoding 28407 ;
/Helvetica-Narrow-Oblique     (gsfonts/adobe/hvno.gsf)  /StandardEncoding 28389 ;
/Helvetica-Oblique            (gsfonts/adobe/hvo.gsf)   /StandardEncoding 28362 ;
/Hobo                         (gsfonts/adobe/ho.gsf)    /StandardEncoding 6174 ;
/Linotext                     (gsfonts/adobe/lx.gsf)    /StandardEncoding 22835 ;
/NewCenturySchlbk-Bold        (gsfonts/adobe/ncb.gsf)   /StandardEncoding 26359 ;
/NewCenturySchlbk-BoldItalic  (gsfonts/adobe/ncbi.gsf)  /StandardEncoding 26360 ;
/NewCenturySchlbk-Italic      (gsfonts/adobe/nci.gsf)   /StandardEncoding 26361 ;
/NewCenturySchlbk-Roman       (gsfonts/adobe/ncr.gsf)   /StandardEncoding 26362 ;
/Palatino-Bold                (gsfonts/adobe/pob.gsf)   /StandardEncoding 31793 ;
/Palatino-BoldItalic          (gsfonts/adobe/pobi.gsf)  /StandardEncoding 31799 ;
/Palatino-Italic              (gsfonts/adobe/poi.gsf)   /StandardEncoding 31796 ;
/Palatino-Roman               (gsfonts/adobe/por.gsf)   /StandardEncoding 31790 ;
/Symbol                       (gsfonts/adobe/sy.gsf)    null              27004 ;
/Times-Bold                   (gsfonts/adobe/tib.gsf)   /StandardEncoding 28417 ;
/Times-BoldItalic             (gsfonts/adobe/tibi.gsf)  /StandardEncoding 28425 ;
/Times-Italic                 (gsfonts/adobe/tii.gsf)   /StandardEncoding 28427 ;
/Times-Roman                  (gsfonts/adobe/tir.gsf)   /StandardEncoding 28416 ;
/Trajan-Regular               (gsfonts/adobe/tjrg.gsf)  /StandardEncoding 27158 ;
/VAGRounded-Bold              (gsfonts/adobe/vrb.gsf)   /StandardEncoding 22942 ;
/ZapfChancery-MediumItalic    (gsfonts/adobe/zcmi.gsf)  /StandardEncoding 31482 ;
/ZapfDingbats                 (gsfonts/adobe/zd.gsf)    null              26200 ;

% Fonts converted from bitmaps.

% /AvantGarde-Book                (gsfonts/gs/pagk.gsf)      /StandardEncoding 4082000 ;
% /AvantGarde-BookOblique         (gsfonts/gs/pagko.gsf)     /StandardEncoding 4082200 ;
% /AvantGarde-Demi                (gsfonts/gs/pagd.gsf)      /StandardEncoding 4083000 ;
% /AvantGarde-DemiOblique         (gsfonts/gs/pagdo.gsf)     /StandardEncoding 4083200 ;

% /Bookman-Light                  (gsfonts/gs/pbkl.gsf)    /StandardEncoding 4114000 ;
% /Bookman-LightItalic            (gsfonts/gs/pbkli.gsf)     /StandardEncoding 4114100 ;
% /Bookman-Demi                   (gsfonts/gs/pbkd.gsf)      /StandardEncoding 4113000 ;
% /Bookman-DemiItalic             (gsfonts/gs/pbkdi.gsf)     /StandardEncoding 4113100 ;

/Charter-Roman                  (gsfonts/gs/bchr.gsf)      /StandardEncoding 4010000 ;
/Charter-Italic                 (gsfonts/gs/bchri.gsf)     /StandardEncoding 4010100 ;
/Charter-Bold                   (gsfonts/gs/bchb.gsf)      /StandardEncoding 4011000 ;
/Charter-BoldItalic             (gsfonts/gs/bchbi.gsf)     /StandardEncoding 4011100 ;

% /Courier                        (gsfonts/gs/pcrr.gsf)      /StandardEncoding 4020000 ;
% /Courier-Oblique                (gsfonts/gs/pcrro.gsf)     /StandardEncoding 4020200 ;
% /Courier-Bold                   (gsfonts/gs/pcrb.gsf)      /StandardEncoding 4021000 ;
% /Courier-BoldOblique            (gsfonts/gs/pcrbo.gsf)     /StandardEncoding 4021200 ;

% /Helvetica                      (gsfonts/gs/phvr.gsf)      /StandardEncoding 4030000 ;
% /Helvetica-Oblique              (gsfonts/gs/phvro.gsf)     /StandardEncoding 4030200 ;
% /Helvetica-Narrow               (gsfonts/gs/phvrrn.gsf)    /StandardEncoding 4030310 ;
% /Helvetica-Bold                 (gsfonts/gs/phvb.gsf)      /StandardEncoding 4031000 ;
% /Helvetica-BoldOblique          (gsfonts/gs/phvbo.gsf)     /StandardEncoding 4031200 ;

% /NewCenturySchlbk-Roman         (gsfonts/gs/pncr.gsf)      /StandardEncoding 4040000 ;
% /NewCenturySchlbk-Italic        (gsfonts/gs/pncri.gsf)     /StandardEncoding 4040100 ;
% /NewCenturySchlbk-Bold          (gsfonts/gs/pncb.gsf)      /StandardEncoding 4041000 ;
% /NewCenturySchlbk-BoldItalic    (gsfonts/gs/pncbi.gsf)     /StandardEncoding 4041100 ;

% /Palatino-Roman                 (gsfonts/gs/pplr.gsf)      /StandardEncoding 4090000 ;
% /Palatino-Italic                (gsfonts/gs/pplri.gsf)     /StandardEncoding 4090100 ;
% /Palatino-Bold                  (gsfonts/gs/pplb.gsf)      /StandardEncoding 4091000 ;
% /Palatino-BoldItalic            (gsfonts/gs/pplbi.gsf)     /StandardEncoding 4091100 ;

% /Symbol                         (gsfonts/gs/psyr.gsf)      /SymbolEncoding   4050000 ;

% /Times-Roman                    (gsfonts/gs/ptmr.gsf)      /StandardEncoding 4060000 ;
% /Times-Italic                   (gsfonts/gs/ptmri.gsf)     /StandardEncoding 4060100 ;
% /Times-Bold                     (gsfonts/gs/ptmb.gsf)      /StandardEncoding 4061000 ;
% /Times-BoldItalic               (gsfonts/gs/ptmbi.gsf)     /StandardEncoding 4061100 ;

/ZapfChancery                   (gsfonts/gs/zcr.gsf)       /StandardEncoding 4070000 ;
/ZapfChancery-Oblique           (gsfonts/gs/zcro.gsf)      /StandardEncoding 4070200 ;
/ZapfChancery-Bold              (gsfonts/gs/zcb.gsf)       /StandardEncoding 4071000 ;

% /ZapfDingbats                   (gsfonts/gs/pzdr.gsf)      /StandardEncoding 4100000 ;


% Fonts converted from Hershey outlines.
% The UniqueID's and filenames are constructed differently for
% these than for the ones above, because of the strange way that the Hershey
% fonts were constructed.  The scheme for these looks like:

% 42TTXY0

% TT = typeface, X = ``class'', Y = variation

% The typeface numbers are given above.

% class:
% 0 = normal                    = r
% 1 = simplex                   = s
% 2 = complex                   = c
% 3 = triplex                   = t

% variation:
% 0 = normal                    (omitted)
% 1 = oblique                   = o
% 2 = italic                    = i
% 3 = bold                      = b
% 4 = bold oblique              = bo
% 5 = bold italic               = bi

/Hershey-Gothic-English         (gsfonts/gs/hrge_r.gsf)    /StandardEncoding 4290000 ;
/Hershey-Gothic-English-Bold    (gsfonts/gs/hrge_rb.gsf)   /StandardEncoding 4290030 ;
/Hershey-Gothic-English-Oblique (gsfonts/gs/hrge_ro.gsf)   /StandardEncoding 4290010 ;

/Hershey-Gothic-German          (gsfonts/gs/hrgr_r.gsf)    /StandardEncoding 4291000 ;
/Hershey-Gothic-German-Bold     (gsfonts/gs/hrgr_rb.gsf)   /StandardEncoding 4291030 ;
/Hershey-Gothic-German-Oblique  (gsfonts/gs/hrgr_ro.gsf)   /StandardEncoding 4291010 ;

/Hershey-Gothic-Italian         (gsfonts/gs/hrit_r.gsf)    /StandardEncoding 4292000 ; 
/Hershey-Gothic-Italian-Bold    (gsfonts/gs/hrit_rb.gsf)   /StandardEncoding 4292030 ;
/Hershey-Gothic-Italian-Oblique (gsfonts/gs/hrit_ro.gsf)   /StandardEncoding 4292010 ;

/Hershey-Greek-Complex          (gsfonts/gs/hrgk_c.gsf)    /StandardEncoding 4293200 ;
/Hershey-Greek-Simplex          (gsfonts/gs/hrgk_s.gsf)    /StandardEncoding 4293100 ;

/Hershey-Plain                  (gsfonts/gs/hrpl_r.gsf)    /StandardEncoding 4294000 ;
/Hershey-Plain-Bold             (gsfonts/gs/hrpl_rb.gsf)   /StandardEncoding 4294030 ;
/Hershey-Plain-Oblique          (gsfonts/gs/hrpl_ro.gsf)   /StandardEncoding 4294010 ;
/Hershey-Plain-Simplex          (gsfonts/gs/hrpl_s.gsf)    /StandardEncoding 4294100 ;
/Hershey-Plain-Simplex-Bold     (gsfonts/gs/hrpl_sb.gsf)   /StandardEncoding 4294130 ;
/Hershey-Plain-Simplex-Bold-Oblique (gsfonts/gs/hrpl_sbo.gsf) /StandardEncoding 4294140 ;
/Hershey-Plain-Simplex-Oblique  (gsfonts/gs/hrpl_so.gsf)   /StandardEncoding 4294110 ;
/Hershey-Plain-Triplex          (gsfonts/gs/hrpl_t.gsf)    /StandardEncoding 4294300 ;
/Hershey-Plain-Triplex-Italic   (gsfonts/gs/hrpl_ti.gsf)   /StandardEncoding 4294320 ;
/Hershey-Plain-Triplex-Bold     (gsfonts/gs/hrpl_tb.gsf)   /StandardEncoding 4294330 ;
/Hershey-Plain-Triplex-Bold-Italic (gsfonts/gs/hrpl_tbi.gsf) /StandardEncoding 4294350 ;

/Hershey-Script-Complex         (gsfonts/gs/hrsc_c.gsf)    /StandardEncoding 4295200 ;
/Hershey-Script-Complex-Bold    (gsfonts/gs/hrsc_cb.gsf)   /StandardEncoding 4295230 ;
/Hershey-Script-Complex-Oblique (gsfonts/gs/hrsc_co.gsf)   /StandardEncoding 4295210 ;
/Hershey-Script-Simplex         (gsfonts/gs/hrsc_s.gsf)    /StandardEncoding 4295100 ;
/Hershey-Script-Simplex-Bold    (gsfonts/gs/hrsc_sb.gsf)   /StandardEncoding 4295130 ;
/Hershey-Script-Simplex-Oblique (gsfonts/gs/hrsc_so.gsf)   /StandardEncoding 4295110 ;

/Hershey-Symbol                 (gsfonts/gs/hrsy_r.gsf)    /SymbolEncoding   4296000 ;
