home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!terapin!paulk
- From: paulk@terapin.com (Paul Kienitz)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Newbie font/screen question
- References: <37971@cbmvax.commodore.com>
- Message-ID: <paulk.2vmr@terapin.com>
- Date: 21 Dec 92 20:01:02 PST
- Organization: BBS
- Lines: 16
-
- > Indeed, the correct way is:
- >
- > if ( OpenDiskFont( ... ) )
- > {
- > if ( OpenScreen( ... ) )
- > {
- > ...
- > CloseScreen( ... );
- > }
- > CloseFont( ... );
- > }
-
- At some time in the past I found that calling OpenDiskFont() will
- always load from disk even if the font is already in memory. So I
- call OpenDiskFont() only if OpenFont() fails. Is this still
- necessary with the latest versions?
-