[comp.fonts] How is the font outline name determined?

m_herodotus@csc32.enet.dec.com (Mario Herodotus) (04/26/91)

--

 I hope you can help me with a question...on a Macintosh what is used to 
tell the Bitmap font which outline font to use?  In other words, how does
the Mac know to use BalleEng when I select Ballet Engraved from the font
menu?  I tried using ResEdit to find the referance, but it wasn't obvious 
enough for me and I searched the bitmap file for the string "BalleEng" but 
it wasn't there.

 What I'd like to do is rename the bitmap font and the outline font.  The 
reason (cause I know you guys are gonna ask) is that I've used FontMonger
to put only one character into a font, I use this character often, now I 
want to be able to keep both copies of the outline in the system folder
for easy access...I can't do that if they both have to have the  same name.

Any help would be appreciated.
Mario

------------------------------------------------------------------------------
     I can't afford my own opinions, and DEC won't pay for them either.
------------------------------------------------------------------------------
Mario Herodotus   [ CX03 1/K3 ] |        m_herodotus@coors.dec.com
Digital Equipment Corporation   |
Customer Support Center         | - or - m_herodotus%coors.dec@decwrl.dec.com
305 Rockrimmon Blvd.            |
Colorado Springs, CO 80919      | - or - ...!decwrl!coors.dec.com!m_herodotus
                                |
(800) 525-6570  Ext 25520       | - or - CSC32::M_HERODOTUS
[direct line (719) 592-5520]    |                       
------------------------------------------------------------------------------

FLEGLEI@YaleVM.YCC.Yale.Edu (05/01/91)

Here's my layperson's understanding of how this works.
You create a font using, for example, Fontographer. You name the font
something with at least five letters in it & possibly a specifier after
it (TimesRoman, TimesItalic, GoudyExtraBoldItalicExtended, whatever).
This name is encoded (possibly encrypted in Type 1) into the font.
You give the bitmap screen font a number ranging from 1 to 32767 (in the
NFNT system), depending on who you are & what numbers are reserved for you by
Apple & Adobe. You give the PostScript printer font a number, whose range
I don't know, nor do I know how the number is calculated. The font name
is truncated to five letters followed by series of three letters (GoudyRoman
becomes GoudyRom, IshkabbibbleBoldExtended becomes IshkaBolExt, etc.). Each
of these names and numbers is linked somehow. This maybe is what is needed
to be known by the original poster.
 
From what I understand, PageMaker version 4 uses the font's numbers as
indicated in the system to access fonts; this method is unreliable due to
id number conflicts and other reasons. QuarkXPress apparently usees the
name of the font, eliminating many conflicts.
 
The easiest way to change all of this is to buy & use Fontographer
& open the font then save as under a new name with new id numbers if
necessary.
 
Sorry this is an expensive ($250) solution, but it's the most reliable
and easiest.
 
Glenn Fleishman, Yale University Printing Service
glenn_fleishman@yccatsmtp.ycc.yale.edu