🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #7932

Re: Opening a diskfont??

#7932
From: Peter Kittel GERMANY
Date: Tue, 08 Jan 1991 09:01
20 lines
1521 bytes
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
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
Technical Details
Message-ID: <700@cbmger.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!cbmehq!cbmger!peterk
References: <faheyr.663140235@silver>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <faheyr.663140235@silver>
Reply-To: peterk@cbmger.UUCP (Peter Kittel GERMANY)
Organization: Commodore Bueromaschinen GmbH, West Germany
Lines: 20