[comp.sys.apple] APPLE IIGS SYSTEM FONT

aehl@csd4.milw.wisc.edu (Donald J Aehl) (04/05/88)

I am interested in finding the location of the Apple IIgs System font 
(Shaston 8 point I believe).  I would like to be able to relocate it and
then save it to disk so that I can customize it, etc.

I have been unpble to locate the System Font's location within memory.
I have checked various RAM & ROM maps for the Apple IIgs, but I have been 
unable to locate it.  I even used the search routines in Bacnks $E0 and $E1
and $FE and $FF to find the word "shaston" yet nothing turned up.

I am assuming that the system font resides in ROM (either banks $FE or $FF).

Can anyone out there give me directions tv the system font?

Thanx in advance for any help...

==============================================================================
ARPA: aehl@csd4.milw.wisc.edu        USMAIL: Donald Aehl            
                                             Box #204
                                             3400 N. Maryland Ave.
					     Milwaukee, WI 53201
UUCP: ihnp4!uwmcsd1!uwm-evax!aehl    ICBM:   43 4 58 N / 87 55 52 W
==============================================================================

jsnow@esunix.UUCP (John Snow) (04/07/88)

In article <5478@uwmcsd1.UUCP>, aehl@csd4.milw.wisc.edu (Donald J Aehl) writes:
> I am interested in finding the location of the Apple IIgs System font 

You can easily use Quickdraw to find the system font's address for you.  Simply
write a simple program that starts up Quickdraw.  This will install the system
font as the current Quickdraw font.  Then call the Quickdraw function GetFont.
GetFont will return a handle to the system font.  Dereference the handle and
you have the absolute address of the system font in ROM.

The reason you can't find any reference to the system font's address in the
IIGS documentation is that is liable to move with each release of the system
ROM.  Using the above technique will always find the system font, no matter
which system ROM you are using.

-- 
-----------------------------------------------------------------------------
John F. Snow                         UUCP: {ihnp4,decvax}!decwrl!esunix!jsnow 
Evans & Sutherland Computer Corp.    Compuserve: 71550,1152    BIX: johnfsnow
Salt Lake City, Utah