sharyn@jhunix.HCF.JHU.EDU (Sharyn Elis Horowitz) (01/15/91)
If someone could respond VERY soon, I'd be eternally greatful...
Here's the situation: I ported a PC program to the Mac, adding dialog
boxes, menus, windows, the whole nine yards. Since the program uses the
extended PC character set (characters>127) which is different from the
Mac fonts, I added a couple of extra definitions to the font I use
(Monaco 9), and stored the modified font in the application's resource
fork. Then, when initializing the application, I loaded the modified
font with the following code:
Handle handle;
...
handle=GetResource('FONT',521);
This worked fine on all the Macs I tried it on, except Mac IIcx's with
System 6.0.3, Finder 6.1.5. So I tried
Handle handle;
int current;
current=CurResFile();
...
handle=GetResource('FONT',521);
ReleaseResource(handle);
UseResFile(current);
handle=GetResource('FONT',521);
Still no dice. Wherever I checked, ResError == noErr.
HELP!!! Why can't I get these !@#$% Mac II's to display the modified
font? The darned thing even worked on an Atari ST, (6.0.3/6.1).
Responding to this group is OK, but if you could also (or instead)
send a message to my computer account (sharyn@jhunix, on bitnet)
I would be appreciative.
Thanks,
Eric Ruck