🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #580

Re: Magic number on possible changes of fontmap in 2.5.2???

#580
From: L. Peter Deutsch
Date: Thu, 07 Jan 1993 05:20
104 lines
6624 bytes
Re <9301070540.AA16897@raisin-nut>
<1993Jan6.130109.18456@cs.tu-berlin.de>:

> There seems to be a magic limit on the number of possible changes in the
> fontmap-file. I made a change of fontmap replacing only a subset
> of the Adobe Plus-Package-fonts. But even with only this subset I get
> unexpected errors:
> 
> If I load the pscriptd.ini of word5.5, I get the message of
> a load-errors for fonts which are available to ghostscript contrary to the
> error-messages for Palatino-Italic (poi____.pfb) and Palatino-BoldItalic
> (pobi____.pfb). The same remark holds for the delivered font for
> ZapfCancery (zcro.gsf).
> I would like to use the _complete_ Adobe Plus-Package by the obvious
> changes of the fontmap-file but cannot.
> 
> I use gs386 Version 2.5.2 on a 486 with 8MB
> 
> Any Comments?
> 
> Here is the message I get, if I load pscriptd.ini:
> 
> DOS/4GW Protected Mode Run-time   Version 1.3
> Copyright (c) Rational Systems, Inc. 1990-1991
> Initializing... done.
> Loading Courier font from E:\PSFONTS\com_____.pfb... 646416 637227 1 done.
> Loading Courier-Bold font from E:\PSFONTS\cob_____.pfb... 686416 669054 1 done.
> Loading Courier-Italic font from E:\PSFONTS\ncrri.gsf... 726416 722968 1 done.
> Loading Courier-BoldItalic font from E:\PSFONTS\ncrbi.gsf... 786416 774906 1 done.
> Loading Helvetica font from E:\PSFONTS\hv______.pfb... 806416 802844 1 done.
> Loading Helvetica-Bold font from E:\PSFONTS\hvb_____.pfb... 846416 831215 1 done.
> Loading Helvetica-Oblique font from E:\PSFONTS\hvo_____.pfb... 846416 842522 1 done.
> Loading Helvetica-BoldOblique font from E:\PSFONTS\hvbo____.pfb... 866416 853872 1 done.
> Loading AvantGarde-Book font from E:\PSFONTS\agw_____.pfb... 886416 878226 1 done.
> Loading AvantGarde-Demi font from E:\PSFONTS\agd_____.pfb... 926416 904207 1 done.
> Loading AvantGarde-BookOblique font from E:\PSFONTS\agwo____.pfb... 926416 912061 1 done.
> Loading AvantGarde-DemiOblique font from E:\PSFONTS\agdo____.pfb... 926416 920871 1 done.
> Loading Helvetica-Narrow font from E:\PSFONTS\hvn_____.pfb... 946416 932170 1 done.
> Substituting Ugly for unknown font /Helvetica-Narrow-Bold
> Loading Ugly font from E:\GHOST\uglyr.gsf... 966416 946929 1 done.
> Substituting Ugly for unknown font /Helvetica-Narrow-Oblique
> Substituting Ugly for unknown font /Helvetica-Narrow-BoldOblique
> Substituting Ugly for unknown font /Helvetica-Light
> Substituting Ugly for unknown font /Helvetica-Black
> Substituting Ugly for unknown font /Helvetica-LightOblique
> Substituting Ugly for unknown font /Helvetica-BlackOblique
> Substituting Ugly for unknown font /Helvetica-Condensed
> Substituting Ugly for unknown font /Helvetica-Condensed-Bold
> Substituting Ugly for unknown font /Helvetica-Condensed-Oblique
> Substituting Ugly for unknown font /Helvetica-Condensed-BoldObl
> Loading Bookman-Light font from E:\PSFONTS\pbkl.gsf... 986416 977814 1 done.
> Loading Bookman-Demi font from E:\PSFONTS\pbkd.gsf... 1006416 999913 1 done.
> Loading Bookman-LightItalic font from E:\PSFONTS\pbkli.gsf... 1046416 1023031 1 done.
> Loading Bookman-DemiItalic font from E:\PSFONTS\pbkdi.gsf... 1066416 1045138 1 done.
> Substituting Ugly for unknown font /Korinna-Regular
> Substituting Ugly for unknown font /Korinna-Bold
> Substituting Ugly for unknown font /Korinna-KursivRegular
> Substituting Ugly for unknown font /Korinna-KursivBold
> Loading Times-Roman font from E:\PSFONTS\ptmr.gsf... 1106416 1090443 1 done.
> Loading Times-Bold font from E:\PSFONTS\ptmb.gsf... 1146416 1131639 1 done.
> Loading Times-Italic font from E:\PSFONTS\ptmri.gsf... 1186416 1177410 1 done.
> Loading Times-BoldItalic font from E:\PSFONTS\ptmbi.gsf... 1246416 1222589 1 done.
> Loading NewCenturySchlbk-Roman font from E:\PSFONTS\pncr.gsf... 1286416 1266661 1 done.
> Loading NewCenturySchlbk-Bold font from E:\PSFONTS\pncb.gsf... 1326416 1305666 1 done.
> Loading NewCenturySchlbk-Italic font from E:\PSFONTS\pncri.gsf... 1366416 1354487 1 done.
> Loading NewCenturySchlbk-BoldItalic font from E:\PSFONTS\pncbi.gsf... 1406416 1398187 1 done.
> Loading Palatino-Roman font from E:\PSFONTS\por_____.pfb... 1446416 1435971 1 done.
> Loading Palatino-Bold font from E:\PSFONTS\pob_____.pfb... 1486416 1473378 1 done.
> Can't find font file poi_____.pfb for font Palatino-Italic, substituting Ugly.
> Can't find font file pobi____.pfb for font Palatino-BoldItalic, substituting Ugly.
> Substituting Ugly for unknown font /Garamond-Light
> Substituting Ugly for unknown font /Garamond-Bold
> Substituting Ugly for unknown font /Garamond-LightItalic
> Substituting Ugly for unknown font /Garamond-BoldItalic
> Can't find font file zcro.gsf for font ZapfChancery-Oblique, substituting Ugly.
> Ghostscript 2.5.2 (9/20/92)
>   Copyright (C) 1990, 1992 Aladdin Enterprises, Menlo Park, CA.
>   All rights reserved.
> Distributed by Free Software Foundation, Inc.
> Ghostscript comes with NO WARRANTY: see the file LICENSE for details.

There is a limit of approximately 100 entries in the Fontmap.  The
limit is the same as the size of FontDirectory, which is set in
gs_init.ps in the line
	/FontDirectory 100 dict def

On MS-DOS systems, there is also a limit to the number of .PFB fonts
that can be loaded at one time.  This is due to a bug in Ghostscript
such that it fails to close the font file; eventually it runs out of
open file handles.  This limit is set by the FILES= line in the
CONFIG.SYS file.  I suspect it is this limit that you are running
into.

The "Can't find ..." message is a catch-all indicating inability to
load the font from the indicated file.  It should really say "Can't
find (or can't open) ...."

If increasing the FILES= limit and/or the size of FontDirectory
doesn't solve your problem, please e-mail me your Fontmap and the
pscriptd.ini file.

L. Peter Deutsch :: Aladdin Enterprises :: P.O. box 60264, Palo Alto, CA 94306
ghost@aladdin.com, ...decwrl!aladdin!ghost ; voice 415-322-0103 ; fax 322-1734
	    "Implementation is the sincerest form of flattery."
Technical Details
Message-ID: <9301062220.1.UUL1.3#5127@aladdin.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!aladdin.COM!ghost
References: ghost@aladdin.COM (L. Peter Deutsch)

Show Full Headers
Complete Article Headers
Newsgroups: gnu.ghostscript.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!aladdin.COM!ghost
From: ghost@aladdin.COM (L. Peter Deutsch)
Subject: Re: Magic number on possible changes of fontmap in 2.5.2???
Message-ID: <9301062220.1.UUL1.3#5127@aladdin.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
References: ghost@aladdin.COM (L. Peter Deutsch)
Distribution: gnu
Date: Thu, 7 Jan 1993 05:20:13 GMT
Approved: bug-ghostscript@prep.ai.mit.edu
Lines: 108