solderit@burdvax.PRC.Unisys.COM (James Solderitsch) (03/16/87)
I've been trying to change the resources in a third party font file. The font file includes both a fond and font resource. Inspecting this font shows a basic font id less than 128 which is in the range reserved to Apple. Also, when this font is installed in my system file, certain peculiarities occur; e.g. the chooser desk accessory uses an enlarged version of this font instead of Chicago in its dialog box. This problem font is also used as the default font when opening a new document with MacWrite 4.5. I'm using a Mac+ (upgraded from a 128) with 5.3, 3.2 etc. (latest official stuff). Question: is the the font id the culprit here? I tried changing the fond id and the corresponding font id (128 times the fond id plus the point size) using resedit but then FontDaMover barfs when I try and install the modified font in the system file (something about there were "serious problems" id 3, 0, with only the Finder button enabled in the alert box). Obviously I'm doing something wrong. Precisely, what tricks do I instruct resedit to perform to completely change a font's id where the font file includes both a font and a fond resource? BTW, I'm a novice resedit user (as might be apparent from this posting). Any help appreciated. If similar situations have occurred to you, drop me a line -- if enough interest, I'll post any findings to the net. Jim Solderitsch Unisys/Paoli Research Center Paoli PA
oster@lapis.berkeley.edu (David Phillip Oster) (03/18/87)
(Caution: twisty road ahead) If you didn't understand the interaction between the Font Manager and the Resource manager under the old ROMs, this article will only confuse you more. In the new world of FONDs, to renumber a FONT by hand you must: 1.) Renumber the FOND. 2.) Open the FOND (you'll need a version of ResEdit recent enough that it knows about the internal structure of FONDs. Scroll it to the end. You'll find a list of point sizes - resource id pairs. Renumber each resource id. 3.) Open FONTs as general (i.e., with the option key held down.) (you do this to turn off ResEdit's funky way of telling you what fonts are available.) 4.) Renumber that evil font. Don't forget point size 0, which holds the name for everybody using the old ROM font manager. The current version of Font/DA Mover, version 3.2 (displayed on the menu bar while Font/DA Mover is running) is supposed to automatically generate FONDs if they are missing, and it is supposed to renumber any new FONT so it doesn't conflict with the Fonts you already have installed. (FONDs exist so that their resources CAN be renumbered.) It may be that the Font/DA Mover can't work its magic if the FONT has a number that conflicts with Apple's. (I have a soft spot in my heart for burdvax.PRC.Unisys.COM. I use to work at the end of a basement corridor there when it was Burroughs Research and Development Vax at Information Modelling and Management, Federal and Special Systems Group, Burroughs Corporation.) --- David Phillip Oster -- "We live in a Global Village." Arpa: oster@lapis.berkeley.edu -- Uucp: ucbvax!ucblapis!oster -- "You are Number Six."