Article View: comp.sys.amiga.tech
Article #7944Re: Opening a diskfont??
From: Joe Porkka
Date: Tue, 08 Jan 1991 17:36
Date: Tue, 08 Jan 1991 17:36
22 lines
1369 bytes
1369 bytes
peterk@cbmger.UUCP (Peter Kittel GERMANY) writes: >In article <faheyr.663140235@silver> faheyr@silver.ucs.indiana.edu (Bob Fahey <NECR0SIS>) writes: >>I am programming a utility in C (lattice), and need to open a specific font off of a disk. (the font >>is already stored in the fonts: dir of my boot disk). >> >>How do you go about opening that disk-based font? >Use function OpenDiskFont() instead of OpenFont(). >I'm too lazy to type an example here, but look into the program Also, in my experience, OpenDiskFont does NOT check to see if the font is already loaded, and will load a duplicate. So first try OpenFont, if it fails, or does not give what you want, the OpenDiskFont. If a duplicate gets loaded, it will get unload duriung the next library expunge (ie - out of memory) I WISH there was no such thing a OpenDiskFont. Its as bad as if there was an OpenDiskLibrary. Yucko.
Technical Details
Message-ID:
<1991Jan8.173617.12144@msuinfo.cl.msu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!netnews.upenn.edu!msuinfo!convex.cl.msu.edu!japReferences:
<faheyr.663140235@silver> <700@cbmger.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!netnews.upenn.edu!msuinfo!convex.cl.msu.edu!jap From: jap@convex.cl.msu.edu (Joe Porkka) Newsgroups: comp.sys.amiga.tech Subject: Re: Opening a diskfont?? Message-ID: <1991Jan8.173617.12144@msuinfo.cl.msu.edu> Date: 8 Jan 91 17:36:17 GMT References: <faheyr.663140235@silver> <700@cbmger.UUCP> Sender: news@msuinfo.cl.msu.edu Organization: Michigan State University Lines: 22