🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Trouble with ADOS 1.3 and Fonts

#5467
From: BAXTER_A
Date: Wed, 26 Sep 1990 17:36
27 lines
1580 bytes
While I'm at it, this one has had me worried for _AGES_.

In my program, I open a font. I close it and quit. Memory counter drops
a bit. No deal. Flush fonts. No memory loss. Fair enough. After I run
the program, the font sits in memory, and takes up space. It is available
for use if I want to open the font again.

I run my program, quit. Counter goes down, Run it again, counter
goes down again by the same amount. The counter goes down by the same amount
_every_ time I run the program. Flush fonts, all memory back again.
SO: each time I run the program, I get a _new_ copy of the font in memory.
This copy doesn't come from disk (no access), it is copied from one
part of memory to another. 

I checked this out with Xoper. Sure enough, every time I run the program,
a new font is created in memory, exactly the same size and specs as the
others, and after quitting they all have 0 processes using then on the 
counter.

This is pretty bad, but when you consider that my program opens _four_
fonts, it is getting rediculous.

QUESTIONS: Is this a bug? Is there a special way of asking for fonts that
actually lets you use the one already there? Is there any salvation in
2.0?

Regards Alan
Technical Details
Message-ID: <13387@wehi.dn.mu.oz>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!murdu!ucsvc.ucs.unimelb.edu.au!wehi!baxter_a

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!murdu!ucsvc.ucs.unimelb.edu.au!wehi!baxter_a
From: BAXTER_A@wehi.dn.mu.oz
Newsgroups: comp.sys.amiga.tech
Subject: Trouble with ADOS 1.3 and Fonts
Message-ID: <13387@wehi.dn.mu.oz>
Date: 26 Sep 90 17:36:54 GMT
Organization: Walter & Eliza Hall Institute
Lines: 27