🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #272

Re: Where to increase dict sizes to support 250+ fonts?

#272
From: L. Peter Deutsch
Date: Sat, 15 Aug 1992 00:28
35 lines
2133 bytes
> I want to add 154 more fonts to the 68 that were distributed with
> GhostScript.  After I add the fonts to the fonts directory and mention
> them in Fontmap, I generate a bit of PostScript to test things with:
> 
> 	tarheel# enscript -p - -fTimes-Roman24 /etc/printcap > /tmp/f
> 	enscript: 2 lines were wrapped because of length.
> 	[ 5 pages * 1 copy ] left in -
> 
> Then I bring up the previewer:
> 
> 	tarheel# ghostview /tmp/f
> 
> and get the following error, before any of my document is visible:
> 
> 	Error: /dictfull in --put--
> 	Operand stack:
> 	    1  200  /Courier-Bold  0  480  /Times-Roman  /Times-Roman  -dicttype-  -marktype-  -dicttype-  /Frutiger-UltraBlack  (Frutiger-UltraBlack)
> 	Execution stack:
> 	    operator_5ce8    --nostringval--  --nostringval--  false  --nostringval--  --nostringval--  1  --nostringval--  operator_b9dc  --nostringval--  --nostringval--  --nostringval--  --nostringval--  --nostringval--  false  --nostringval--  --nostringval-> -  --nostringval--  --nostringval--
> 	Dictionary stack:
> 	    337/401  6/200  17/50  1/2
> 
> 
> What dictionary is filling up?  Where do I increase its size?  I tried
> some things in gs_*ps but I wasn't successful.

If it isn't FontDirectory (defined in gs_init.ps or gs_fonts.ps
depending on the Ghostscript version), I don't know.

This problem will go away in Ghostscript 2.5, which expands
dictionaries automatically.

L. Peter Deutsch :: Aladdin Enterprises :: P.O. box 60264, Palo Alto, CA 94306
ghost@aladdin.com, ...decwrl!aladdin!ghost ; 415-322-0103 voice ; no fax yet
	    "Implementation is the sincerest form of flattery."
Technical Details
Message-ID: <9208141728.1.UUL1.3#5127@aladdin.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!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!cis.ohio-state.edu!aladdin.COM!ghost
From: ghost@aladdin.COM (L. Peter Deutsch)
Subject: Re: Where to increase dict sizes to support 250+ fonts?
Message-ID: <9208141728.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: Sat, 15 Aug 1992 00:28:14 GMT
Approved: bug-ghostscript@prep.ai.mit.edu
Lines: 37