Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ulowell!cbmvax!daveh From: daveh@cbmvax.UUCP (Dave Haynie) Newsgroups: comp.sys.amiga Subject: Re: newcon,setfont questions Message-ID: <6561@cbmvax.UUCP> Date: 10 Apr 89 17:12:54 GMT References: <2111@pur-phy> Distribution: comp.sys.amiga Organization: Commodore Technology, West Chester, PA Lines: 22 in article <2111@pur-phy>, tlm@pur-phy (Timothy Lee Meisenheimer) says: > I use courier 13 (font) all the time so I have a "setfont courier 13" in my > startup file. When I take a look at the font usage usiong Xoper it shows the > two rom fonts and the courier font but the courier font is listed THREE > times, at seperate ram locations!! Is setfont loading it in three times?? I certainly hope not, at least if it's my SetFont V2.5 program in question. SetFont just calls the system OpenDiskFont() routine to load the font. And I just checked; it only opens it once in the program. Depending on where the font is used, it may be left open. And the OS will probably open it a few more times. But far as I know, the actual font image is only supposed to be loaded once, no matter how many times it's actually opened. SetFont V2.5 may be overcautious about closing old fonts when you select a new one, but there's nothing I know if it could be doing to get multiple copies of a font. > tlm. -- Dave Haynie "The 32 Bit Guy" Commodore-Amiga "The Crew That Never Rests" {uunet|pyramid|rutgers}!cbmvax!daveh PLINK: D-DAVE H BIX: hazy Amiga -- It's not just a job, it's an obsession