Path: utzoo!attcan!uunet!mcvax!unido!fauern!faui44!immd1.informatik.uni-erlangen.de!msurlich From: msurlich@immd1.informatik.uni-erlangen.de (Matthias Urlichs ) Newsgroups: comp.sys.mac Subject: Re: Hiding bold/italic fonts? Summary: Delete the right FOND Message-ID: <467@faui44.informatik.uni-erlangen.de> Date: 11 Jul 88 08:23:41 GMT References: <2370@ucdavis.ucdavis.edu> <59015@sun.uucp> <13934@comp.vuw.ac.nz> Reply-To: m_urlichs@msn.rmi.de Organization: CSD., University of Erlangen, W - Germany Lines: 47 In article <13934@comp.vuw.ac.nz> newbery@rata.vuw.ac.nz (Michael Newbery) writes: < What you REALLY want to do is turn the 'style' FONTs into NFNTs. < Right! < o Use Font/DA mover to move all the fonts into a suitcase Don't; work with unmodified copies of the individual fonts (there's just one font in each suitcase file) < o Using ResEdit, delete the 'base' (style 0) fonts from the FONDs *and* < the FONTs. If you use the original files, there won't be a base style FONT. There will instead be at least two FONDs. Delete the "styled" one (i.e. "I Bookman Italic") and leave the base FOND ("Bookman") alone. < o "Open General" FONT. Delete all the named entries (The size 0 FONTs which < give a family its name). < o Leave ResEdit < o Run your favourite hex editor, FEdit Plus say. < o Find the string "FONT" in your suitcase of fonts (it will be near the back). < Change it to NFNT. You have just edited the resource map and changed the < resource type. < o Using FONT/DA 3.8 or later (IMPORTANT!!! Earlier versions WILL NOT WORK!) < copy the fonts back into the System. Voila! [3.8 comes with the System 6.0 < release.] < < Now you SHOULD just be able to copy the fonts with Font/DA mover and it should < convert the FONTs to NFNTs for you, but this does not seem to happen. Since you actually converted FONT to NFNT with FEdit ... < < Needless to say: BACK UP YOUR SYSTEM BEFORE YOU DO THIS! Exactly. Keep in mind that you should NOT open the FOND resource, i.e. to change the font's type from Italic to Bold (or from Plain to Bold, if the "general" FOND resource isn't included). This is because information about width, kerning, and so on, is hidden deep inside the table at the end of the FOND. Someone writing a small program to do that? < < Good luck < -- < Michael NewberyMatthias Urlichs -- Matthias Urlichs CompuServe: 72437,1357 Delphi: URLICHS Rainwiesenweg 9 Phone: +49+911-574180 8501 Schwaig 2 NetMail: m_urlichs@msn.rmi.de West Germany or: (r)eply and (h)ope