xref: /plan9/sys/src/cmd/gs/lib/Fontmap.Sol (revision 593dc095aefb2a85c828727bbfa9da139a49bdf4)
1% Copyright (C) 1996, 1999 Aladdin Enterprises.  All rights reserved.
2%
3% This software is provided AS-IS with no warranty, either express or
4% implied.
5%
6% This software is distributed under license and may not be copied,
7% modified or distributed except as expressly authorized under the terms
8% of the license contained in the file LICENSE in this distribution.
9%
10% For more information about licensing, please refer to
11% http://www.ghostscript.com/licensing/. For information on
12% commercial licensing, go to http://www.artifex.com/licensing/ or
13% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
16% $Id: Fontmap.Sol,v 1.4 2002/02/21 21:49:28 giles Exp $
17% Fontmap.Solaris - Ghostscript Fontmap for Solaris 2.3 and above
18% ===============================================================
19%
20% The Solaris 2.3 (and above) operating system from Sun Microsystems comes with
21% Display Postscript (DPS), including certain Type1 and Type3 PostScript fonts.
22% Using these fonts instead of the default Ghostscript fonts greatly improves
23% the visual quality of Ghostscript rendered documents, especially at larger
24% font sizes. You should definately use these fonts if you have Solaris 2.3 or
25% above.
26%
27% To use the Solaris 2 DPS fonts, simply copy this file (Fontmap.Solaris) to
28%
29%   /usr/local/lib/Ghostscript/VERSION/Fontmap
30%   (where VERSION is the version number of Ghostscript, eg: 3.33)
31%
32% and set the environment variable GS_LIB as follows:
33%
34%   GS_LIB=/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/Type3
35%   export GS_LIB
36%
37% You can use /usr/openwin/lib/fonts/Type1/outline instead if you like, it
38% makes no difference (the files in /usr/openwin/lib/fonts/Type1 are symlinks
39% into /usr/openwin/lib/fonts/Type1/outline).
40%
41% Instead of setting GS_LIB, you could add the above directories to
42% GS_LIB_DEFAULT in your makefile before building Ghostscript.
43%
44%
45% IMPORTANT NOTE
46% ==============
47%
48% Note that simply setting GS_FONTPATH may not work, because for some reason
49% some versions of gs can't seem to find any fonts in
50% /usr/openwin/lib/X11/fonts/Type1/outline.
51% It says: "15 files, 15 scanned, 0 new fonts".
52%
53%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
54
55% ----------------------------------------------------------------
56
57% This file is a catalog of fonts known to Ghostscript.  Any font
58% that is to be loaded automatically when named must be in this catalog,
59% except for fonts that Ghostscript finds automatically in directories
60% named in the GS_FONTPATH environment variable.
61
62% Each font has an entry consisting of three items:
63%
64%	- The name by which the font is known inside Ghostscript
65%	(a Ghostscript name preceded by a `/', or a string enclosed
66%	in parentheses).  This is used to find the file from which
67%	a font of a given name should be loaded.
68%
69%	- Information depending on whether this is a real font or a
70%	font alias:
71%
72%		- For real fonts, the name of the Ghostscript font
73%		file (a Ghostscript string, enclosed in parentheses).
74%		The filename should include the extension, which (by
75%		convention) is `.gsf'.  `.pfa' and `.pfb' files are
76%		also usable as fonts for Ghostscript.
77%
78%		- For font aliases, the name of the font which should
79%		be used when this one is requested, preceded by a
80%		`/'.  See the entry for Charter below for an example.
81%		Note that an alias name cannot be enclosed in parentheses.
82%
83%	- At least one space or tab, and a terminating semicolon.
84
85% Because of limitations in the MS-DOS environment, Ghostscript font
86% file names must be no more than 8 characters long, must consist only
87% of LOWER CASE letters, digits, and underscores, and must start with a
88% letter.  Font names, on the other hand, need only obey the syntax of
89% names in the Ghostscript language, which is much more liberal.
90
91% The following table is actually a Ghostscript data structure.
92% If you add new entries, be sure to copy the punctuation accurately;
93% in particular, you must leave at least one space or tab between each
94% field in the entry.  Also, please read fonts.doc for important information
95% about font names.
96
97% Note that .pfa and .pfb fonts are compatible with Adobe Type Manager
98% and other programs that don't include full PostScript interpreters,
99% as well as with PostScript interpreters; .gsf fonts are compatible with
100% PostScript interpreters, but not with ATM or similar programs.
101
102%
103%
104% Fonts contributed by:
105%	URW++ Design and Development Incorporated
106%	Poppenbuetteler Bogen 29A
107%	D-22399 Hamburg
108%	Germany
109%	tel. +49 (40) 60 60 50
110%	fax +49 (40) 60 60 51 11
111%	http://www.urwpp.de
112% for distribution under the GNU License and Aladdin Free Public License.
113% See the notice at the head of this Fontmap file for licensing terms.
114% Each of these fonts is individually covered by the license:
115% for licensing purposes, they are not "part of" any larger entity.
116% The following notice applies to these fonts:
117%
118%	Copyright URW Software, Copyright 1994 by URW.
119%
120
121% Actual fonts
122
123/URWBookmanL-DemiBold	(b018015l.pfb)	;
124/URWBookmanL-DemiBoldItal	(b018035l.pfb)	;
125/URWBookmanL-Ligh	(b018012l.pfb)	;
126/URWBookmanL-LighItal	(b018032l.pfb)	;
127
128/NimbusMonL-Regu	(n022003l.pfb)	;
129/NimbusMonL-ReguObli	(n022023l.pfb)	;
130/NimbusMonL-Bold	(n022004l.pfb)	;
131/NimbusMonL-BoldObli	(n022024l.pfb)	;
132
133/URWGothicL-Book	(a010013l.pfb)	;
134/URWGothicL-BookObli	(a010033l.pfb)	;
135/URWGothicL-Demi	(a010015l.pfb)	;
136/URWGothicL-DemiObli	(a010035l.pfb)	;
137
138/NimbusSanL-Regu	(n019003l.pfb)	;
139/NimbusSanL-ReguItal	(n019023l.pfb)	;
140/NimbusSanL-Bold	(n019004l.pfb)	;
141/NimbusSanL-BoldItal	(n019024l.pfb)	;
142
143/NimbusSanL-ReguCond	(n019043l.pfb)	;
144/NimbusSanL-ReguCondItal	(n019063l.pfb)	;
145/NimbusSanL-BoldCond	(n019044l.pfb)	;
146/NimbusSanL-BoldCondItal	(n019064l.pfb)	;
147
148/URWPalladioL-Roma	(p052003l.pfb)	;
149/URWPalladioL-Ital	(p052023l.pfb)	;
150/URWPalladioL-Bold	(p052004l.pfb)	;
151/URWPalladioL-BoldItal	(p052024l.pfb)	;
152
153/CenturySchL-Roma	(c059013l.pfb)	;
154/CenturySchL-Ital	(c059033l.pfb)	;
155/CenturySchL-Bold	(c059016l.pfb)	;
156/CenturySchL-BoldItal	(c059036l.pfb)	;
157
158/NimbusRomNo9L-Regu	(n021003l.pfb)	;
159/NimbusRomNo9L-ReguItal	(n021023l.pfb)	;
160/NimbusRomNo9L-Medi	(n021004l.pfb)	;
161/NimbusRomNo9L-MediItal	(n021024l.pfb)	;
162
163/StandardSymL	(s050000l.pfb)	;
164
165/URWChanceryL-MediItal	(z003034l.pfb)	;
166
167/Dingbats	(d050000l.pfb)	;
168
169% Aliases
170
171/Bookman-Demi			/URWBookmanL-DemiBold	;
172/Bookman-DemiItalic		/URWBookmanL-DemiBoldItal	;
173/Bookman-Light			/URWBookmanL-Ligh	;
174/Bookman-LightItalic		/URWBookmanL-LighItal	;
175
176/Courier			/NimbusMonL-Regu	;
177/Courier-Oblique		/NimbusMonL-ReguObli	;
178/Courier-Bold			/NimbusMonL-Bold	;
179/Courier-BoldOblique		/NimbusMonL-BoldObli	;
180
181/AvantGarde-Book		/URWGothicL-Book	;
182/AvantGarde-BookOblique		/URWGothicL-BookObli	;
183/AvantGarde-Demi		/URWGothicL-Demi	;
184/AvantGarde-DemiOblique		/URWGothicL-DemiObli	;
185
186% Solaris 2 DPS has Helvetica as a Type1 font.
187%/Helvetica			/NimbusSanL-Regu	;
188%/Helvetica-Oblique		/NimbusSanL-ReguItal	;
189%/Helvetica-Bold			/NimbusSanL-Bold	;
190%/Helvetica-BoldOblique		/NimbusSanL-BoldItal	;
191
192/Helvetica-Narrow		/NimbusSanL-ReguCond	;
193/Helvetica-Narrow-Oblique	/NimbusSanL-ReguCondItal	;
194/Helvetica-Narrow-Bold		/NimbusSanL-BoldCond	;
195/Helvetica-Narrow-BoldOblique	/NimbusSanL-BoldCondItal	;
196
197/Palatino-Roman			/URWPalladioL-Roma	;
198/Palatino-Italic		/URWPalladioL-Ital	;
199/Palatino-Bold			/URWPalladioL-Bold	;
200/Palatino-BoldItalic		/URWPalladioL-BoldItal	;
201
202/NewCenturySchlbk-Roman		/CenturySchL-Roma	;
203/NewCenturySchlbk-Italic	/CenturySchL-Ital	;
204/NewCenturySchlbk-Bold		/CenturySchL-Bold	;
205/NewCenturySchlbk-BoldItalic	/CenturySchL-BoldItal	;
206
207% Solaris 2 DPS has Times as a Type1 font.
208%/Times-Roman			/NimbusRomNo9L-Regu	;
209%/Times-Italic			/NimbusRomNo9L-ReguItal	;
210%/Times-Bold			/NimbusRomNo9L-Medi	;
211%/Times-BoldItalic		/NimbusRomNo9L-MediItal	;
212
213% Solaris 2 DPS has Symbol as a Type1 font.
214%/Symbol				/StandardSymL	;
215
216/ZapfChancery-MediumItalic	/URWChanceryL-MediItal	;
217
218/ZapfDingbats			/Dingbats	;
219
220%
221%
222% Type 1 fonts contributed to the X11R5 distribution.
223%
224
225% The following notice accompanied the Charter fonts.
226%
227% (c) Copyright 1989-1992, Bitstream Inc., Cambridge, MA.
228%
229% You are hereby granted permission under all Bitstream propriety rights
230% to use, copy, modify, sublicense, sell, and redistribute the 4 Bitstream
231% Charter (r) Type 1 outline fonts and the 4 Courier Type 1 outline fonts
232% for any purpose and without restriction; provided, that this notice is
233% left intact on all copies of such fonts and that Bitstream's trademark
234% is acknowledged as shown below on all unmodified copies of the 4 Charter
235% Type 1 fonts.
236%
237% BITSTREAM CHARTER is a registered trademark of Bitstream Inc.
238
239/CharterBT-Roman		(bchr.pfa)	;
240/CharterBT-Italic		(bchri.pfa)	;
241/CharterBT-Bold			(bchb.pfa)	;
242/CharterBT-BoldItalic		(bchbi.pfa)	;
243
244% Aliases
245
246/Charter-Roman			/CharterBT-Roman	;
247/Charter-Italic			/CharterBT-Italic	;
248/Charter-Bold			/CharterBT-Bold		;
249/Charter-BoldItalic		/CharterBT-BoldItalic	;
250
251% The following notice accompanied the Utopia font:
252%
253%   Permission to use, reproduce, display and distribute the listed
254%   typefaces is hereby granted, provided that the Adobe Copyright notice
255%   appears in all whole and partial copies of the software and that the
256%   following trademark symbol and attribution appear in all unmodified
257%   copies of the software:
258%
259%           Copyright (c) 1989 Adobe Systems Incorporated
260%           Utopia (R)
261%           Utopia is a registered trademark of Adobe Systems Incorporated
262%
263%   The Adobe typefaces (Type 1 font program, bitmaps and Adobe Font
264%   Metric files) donated are:
265%
266%           Utopia Regular
267%           Utopia Italic
268%           Utopia Bold
269%           Utopia Bold Italic
270
271/Utopia-Regular		(putr.pfa)	;
272/Utopia-Italic		(putri.pfa)	;
273/Utopia-Bold		(putb.pfa)	;
274/Utopia-BoldItalic	(putbi.pfa)	;
275
276%
277%
278% Fonts contributed by URW GmbH for distribution under the GNU License.
279% The following notice accompanied these fonts:
280%
281% U004006T URW Grotesk 2031 Bold PostScript Type 1 Font Program
282% U003043T URW Antiqua 2051 Regular Condensed PostScript Type 1 Font Program
283%
284% Copyright (c) 1992 URW GmbH, Hamburg, Germany
285%
286% This program is free software; you can redistribute it and/or modify
287% it under the terms of the GNU General Public License as published by
288% the Free Software Foundation; either version 2 of the License, or
289% (at your option) later version.
290%
291% This program is distributed in the hope that it will be useful,
292% but WITHOUT ANY WARRANTY; wihtout even the implied warranty of
293% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
294% See the GNU General Public License for more details.
295%
296% You should have received a copy of the GNU General Public License
297% along with this program; if not, write to the Free Software
298% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 U.S.A.
299%
300% Address:
301% URW GmbH
302% PC Support
303% Harksheider Strasse 102
304% 2000 Hamburg 65
305% Germany
306% Phone: +49 40 60 60 50       (Reception)
307% Phone: +49 40 60 60 52 30   (PC Support)
308% Fax    : +49 40 60 60 52 52
309%
310
311/URWAntiquaT-RegularCondensed	(u003043t.gsf)	;
312/URWGroteskT-Bold		(u004006t.gsf)	;
313
314%
315%
316% Shareware Kana fonts.  These are subject to the following notice:
317%
318% These copyrighted fonts were developed by Kevin Hartig. Permission is
319% granted to freely distribute them in entirety along with this statement.
320% This is shareware. If you decide to use these fonts please contribute
321% $10 US to help support further freeware and shareware software development.
322% Questions and comments may be sent to:
323%
324% hartig@fsl.noaa.gov
325% khartig@nyx.cs.du.edu
326%
327% Kevin Hartig
328% 1126 Collyer Street
329% Longmont, CO 80501 USA
330%
331% copyright 1993.
332
333% Hiragana and Katakana fonts.  The character names are inappropriate,
334% and the encoding is probably not related to any known standard.
335
336/Calligraphic-Hiragana		(fhirw.gsf)	;
337/Calligraphic-Katakana		(fkarw.gsf)	;
338
339%
340%
341% Public-domain fonts.  These have no copyright, and are of unknown quality.
342
343% Cyrillic fonts.  The character names are inappropriate,
344% and the encoding is probably not related to any known standard.
345
346/Shareware-Cyrillic-Regular	(fcyr.gsf)	;
347/Shareware-Cyrillic-Italic	(fcyri.gsf)	;
348
349% Aliases
350/Cyrillic			/Cyrillic-Regular	;
351/Cyrillic-Regular		/Shareware-Cyrillic-Regular	;
352/Cyrillic-Italic		/Shareware-Cyrillic-Italic	;
353
354%
355%
356% Fonts converted from Hershey outlines.  These are constructed and
357% maintained manually.  These are also in the public domain.
358%
359% The suggested UniqueID's and filenames are constructed differently for
360% these than for the ones above, because of the strange way that the Hershey
361% fonts were constructed.  The scheme for these looks like:
362%
363% 42TTXY0
364%
365% TT = typeface, X = ``class'', Y = variation
366%
367% The typeface names and numbers are listed in fonts.mak.
368%
369% class:
370% 0 = normal			= r
371% 1 = simplex			= s
372% 2 = complex			= c
373% 3 = triplex			= t
374% 4 = duplex			= d
375%
376% variation:
377% 0 = normal			(omitted)
378% 1 = oblique			= o
379% 2 = italic			= i
380% 3 = bold			= b
381% 4 = bold oblique		= bo
382% 5 = bold italic		= bi
383%
384
385% Fonts created by Thomas Wolff <wolff@inf.fu-berlin.de>, by adding
386% accents, accented characters, and various other non-alphabetics
387% to the original Hershey fonts.  These are "freeware", not to be sold.
388
389/Hershey-Gothic-English		(hrger.pfa)	;	% 5066533
390/Hershey-Gothic-German		(hrgrr.pfa)	;
391/Hershey-Gothic-Italian		(hritr.pfa)	;
392
393/Hershey-Plain-Duplex		(hrpld.pfa)	;
394/Hershey-Plain-Duplex-Italic	(hrpldi.pfa)	;
395/Hershey-Plain-Triplex		(hrplt.pfa)	;
396/Hershey-Plain-Triplex-Italic	(hrplti.pfa)	;
397
398/Hershey-Script-Complex		(hrscc.pfa)	;
399/Hershey-Script-Simplex		(hrscs.pfa)	;	% 5066541
400
401% Fonts created algorithmically from the above.
402
403/Hershey-Gothic-English-Bold		(hrgerb.gsf)	;	% 5066542
404/Hershey-Gothic-English-Oblique		(hrgero.gsf)	;
405/Hershey-Gothic-English-SemiBold	(hrgerd.gsf)	;
406/Hershey-Gothic-German-Bold		(hrgrrb.gsf)	;
407/Hershey-Gothic-German-Oblique		(hrgrro.gsf)	;
408/Hershey-Gothic-Italian-Bold		(hritrb.gsf)	;
409/Hershey-Gothic-Italian-Oblique		(hritro.gsf)	;
410
411/Hershey-Plain-Duplex-Bold		(hrpldb.gsf)	;
412/Hershey-Plain-Duplex-Bold-Italic	(hrpldbi.gsf)	;
413/Hershey-Plain-Triplex-Bold		(hrpltb.gsf)	;
414/Hershey-Plain-Triplex-Bold-Italic	(hrpltbi.gsf)	;
415
416/Hershey-Script-Complex-Bold		(hrsccb.gsf)	;
417/Hershey-Script-Complex-Oblique		(hrscco.gsf)	;
418/Hershey-Script-Simplex-Bold		(hrscsb.gsf)	;
419/Hershey-Script-Simplex-Oblique		(hrscso.gsf)	;	% 5066556
420
421% Fonts consisting only of characters from the original Hershey
422% distribution.  These are Type 3 fonts.
423
424/Hershey-Greek-Complex			(hrgkc.gsf)	;	% 5066557
425/Hershey-Greek-Simplex			(hrgks.gsf)	;
426
427/Hershey-Plain				(hrplr.gsf)	;
428/Hershey-Plain-Simplex			(hrpls.gsf)	;	% 5066560
429
430% Fonts created algorithmically from the above.
431
432/Hershey-Plain-Bold			(hrplrb.gsf)	;	% 5066561
433/Hershey-Plain-Bold-Oblique		(hrplrbo.gsf)	;
434/Hershey-Plain-Oblique			(hrplro.gsf)	;
435/Hershey-Plain-Simplex-Bold		(hrplsb.gsf)	;
436/Hershey-Plain-Simplex-Bold-Oblique	(hrplsbo.gsf)	;
437/Hershey-Plain-Simplex-Oblique		(hrplso.gsf)	;	% 5066566
438
439% This font, and only this font among the Hershey fonts, uses
440% the SymbolEncoding.
441
442/Hershey-Symbol				(hrsyr.gsf)	;	% 5066567
443%
444%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
445%
446%  Solaris 2 Display PostScript Type1 and Type3 fonts...
447%
448
449/Helvetica			(Helvetica.pfa)			;
450/Helvetica-Bold			(Helvetica-Bold.pfa)		;
451/Helvetica-BoldOblique		(Helvetica-BoldOblique.pfa)	;
452/Helvetica-Oblique		(Helvetica-Oblique.pfa)		;
453
454/Symbol				(Symbol.pfa)			;
455/SymbolSet			/Symbol				;
456
457/Times-Bold			(Times-Bold.pfa)		;
458/Times-BoldItalic		(Times-BoldItalic.pfa)		;
459/Times-Italic			(Times-Italic.pfa)		;
460/Times-Roman			(Times-Roman.pfa)		;
461/TimesNewRoman			/Times-Roman			;
462/TimesNewRoman-Bold		/Times-Bold			;
463/TimesNewRoman-BoldItalic	/Times-BoldItalic		;
464/TimesNewRoman-Italic		/Times-Italic			;
465
466/Dijkstra			(Dijkstra.ps)			;
467
468/Hershey-Cyrillic		(HrshCyr.ps)			;
469
470/Hershey-Gothic			(HrshGoth.ps)			;
471
472/Hershey-Greek			(HrshGrk.ps)			;
473/Hershey-Greek-Narrow		(HrshGrkN.ps)			;
474/Hershey-Greekp			(HrshGrkp.ps)			;
475
476/Hershey-Italic			(HrshI.ps)			;
477/Hershey-Italic-Narrow		(HrshIN.ps)			;
478/Hershey-Italic-Wide		(HrshIW.ps)			;
479/Hershey-Roman			(HrshRom.ps)			;
480/Hershey-Roman-Narrow		(HrshRomN.ps)			;
481/Hershey-Roman-Wide		(HrshRomW.ps)			;
482/Hershey-Romand			(HrshRomd.ps)			;
483/Hershey-Romanp			(HrshRomp.ps)			;
484
485/Hershey-Script			(HrshScr.ps)			;
486/Hershey-Script-Narrow		(HrshScrN.ps)			;
487