🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13368

Fonts and freeing memory

#13368
From: Brian Zupke
Date: Sun, 07 Jan 1990 10:15
12 lines
975 bytes
Howdy!  I'm working on a C program that loads a font from disk using
OpenDiskFont(), uses it with SetFont(), and then gets rid of it later with
CloseFont().  My problem is that each time I run my program, I lose around
3k-4k bytes of memory (very close to the size of the font on disk).  I've
tried numerous combinations of font functions (even RemFont()) and still
have this problem.  Does anyone know if there's a bug in the font functions,
or am I doing something wrong?

Thanks in advance.

--Brian
Technical Details
Message-ID: <2528@jato.Jpl.Nasa.Gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!usc!henry.jpl.nasa.gov!elroy.jpl.nasa.gov!jato!zupke

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!usc!henry.jpl.nasa.gov!elroy.jpl.nasa.gov!jato!zupke
From: zupke@jato.Jpl.Nasa.Gov (Brian Zupke )
Newsgroups: comp.sys.amiga.tech
Subject: Fonts and freeing memory
Message-ID: <2528@jato.Jpl.Nasa.Gov>
Date: 7 Jan 90 10:15:04 GMT
Reply-To: zupke@jato.Jpl.Nasa.Gov (Brian Zupke (JPL Amiga Club Pres.))
Organization: Jet Propulsion Laboratory, Pasadena, CA
Lines: 12