🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5495

Memory Usage by Downloaded Fonts

#5495
From: Colin Smale
Date: Fri, 26 Apr 1991 12:29
22 lines
1344 bytes
I'm experimenting with downloading fonts to an Apple LaserWriter II NTX
(from a UNIX system over a serial line).  I have a font file in plain
PS, with CharProcs full of lineto/moveto/curveto things.  The file
itself is less than 90k long, but uses 160k of the printer's memory.
At this rate I won't be able to download many fonts at all! Now, I
understand that might just be a 'given' for downloading fonts, but I
wonder if there is a way to reduce the memory usage, perhaps by freeing
things after 'definefont' has been executed, or by 'precompiling' the
font program in some way.

I am not using 'bind' at all in the font program;  I did try it once
for all the character procedures but it didn't make any difference to the
memory usage.

Is 160k reasonable for a Garamond-Light lookalike?

Is there any way to 'delete' a font from FontDirectory once defined?

Any tips?

Thanks in advance,
Colin
Technical Details
Message-ID: <14164@gouldnl.encore.nl>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!mcsun!hp4nl!gouldnl!colin@gouldnl.encore.nl

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!mcsun!hp4nl!gouldnl!colin@gouldnl.encore.nl
From: colin@gouldnl.encore.nl (Colin Smale)
Newsgroups: comp.lang.postscript
Subject: Memory Usage by Downloaded Fonts
Message-ID: <14164@gouldnl.encore.nl>
Date: 26 Apr 91 12:29:29 GMT
Sender: Colin Smale <colin@encore.nl>
Organization: Encore Computer BV, Maarssenbroek, Holland
Lines: 22