Path: utzoo!attcan!uunet!husc6!mailrus!purdue!decwrl!decvax!tektronix!tekig5!wayneck From: wayneck@tekig5.PEN.TEK.COM (Wayne Knapp) Newsgroups: comp.sys.amiga.tech Subject: CloseFonts() problems Keywords: Need the memory back Message-ID: <3599@tekig5.PEN.TEK.COM> Date: 21 Dec 88 19:01:29 GMT Organization: Tektronix Inc., Beaverton, Or. Lines: 23 I'm working on a program that makes massive use of fonts. The problem I have is that once a font is loaded into memory, it stays there forever. I've tried other programs that use fonts and they also have the same problem. The code is correct according to the RKM but I haven't been able to get it to work. . . textFont = OpenDiskFont(textAttr); . . code to use font . CloseFont(textFont); Seemly the CloseFont() call dose not ever release the font from memory. After using 20 fonts or so it is easy to lose over 100K of memory to dead fonts hanging around. I'm trying to do real-time effects with Text so I really need all the memory I can get. Dose anyone know what is wrong? Wayne Knapp