Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!cbmehq!cbmger!peterk From: peterk@cbmger.UUCP (Peter Kittel GERMANY) Newsgroups: comp.sys.amiga.tech Subject: Re: Opening a diskfont?? Message-ID: <700@cbmger.UUCP> Date: 8 Jan 91 09:01:53 GMT References: Reply-To: peterk@cbmger.UUCP (Peter Kittel GERMANY) Organization: Commodore Bueromaschinen GmbH, West Germany Lines: 20 In article faheyr@silver.ucs.indiana.edu (Bob Fahey ) 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 Library in the basicdemos drawer of your Extras disk (yes, AmigaBasic). There you can see what setup is necessary before calling that function. Please note that you can exchange the function call in this example easily by OpenDiskFont(). Another observation of mine: Obviously this is the only place in the Amiga system that is case sensitive on the filenames of the fonts! So watch out for the real spelling of the wanted fonts. (Don't yet know if this also applies to 2.0.) -- Best regards, Dr. Peter Kittel // E-Mail to \\ Only my personal opinions... Commodore Frankfurt, Germany \X/ {uunet|pyramid|rutgers}!cbmvax!cbmger!peterk