[OS X TeX] Help for FontForge needed

Bruno Voisin bvoisin at mac.com
Thu Aug 31 03:54:50 EDT 2006


Le 31 août 06 à 03:50, André Bellaïche a écrit :

> In the directory sent by the vendor, you see three font files, and  
> two AFM:
> - TimesTen SC&OsF
> - TimesTenRomSC
> - TimesTenRomOsF
> - TimesTenRomSC.afm
> - TimesTenRomOsF.afm
>
> [...]
>
> But do you think my 22 euros are lost?

Fortunately not. From the file names, from the accompanying AFM files  
and from the description of your attemps in FontForge and Font Book,  
it seems the fonts are resource fonts in Mac OS Classic format:

- A FFIL suitcase "TimesTen SC&OsF" containing bitmap versions of the  
small caps and old style fonts for screen display. It should have an  
icon with FFIL on it in OS X, and be called "Font Suitcase" in the  
Info window.

- Two LWFN files TimesTenRomSC and TimesTenRomOsF containing  
vectorial PostScript versions of the fonts for printer use. They  
should have icons with LWFN on them in OS X, and be called  
"PostScript Type 1 outline font" in the Info window.

It's only the last two files that are necessary for TeX. The tutorial  
"Installing Fonts for LaTeX on OS X" tells how to deal with them: see  
<http://tug.org/mactex/fonts/fonttutorial-current.html#sec2-classic>.  
You don't need FontForge actually, only t1unmac. In short, in  
Terminal, cd to the directory where the fonts are and type in:

t1unmac -r TimesTenRomSC/rsrc TimesTenRomSC.pfb
t1unmac -r TimesTenRomOsF/rsrc TimesTenRomOsF.pfb

t1unmac doesn't need to be downloaded, it's included already in gwTeX  
at /usr/local/teTeX/bin/powerpc-apple-darwin-current/t1unmac and /usr/ 
local/teTeX/bin/i386-apple-darwin-current/t1unmac.

One supplementary check you can make: if you use "ls -l" in the  
directory where the fonts are, it will report that the font files  
have 0 size, as in:

-rw-r--r--    1 brunovoi  admin         0 May 15  1998 Euro Sans
-rw-r--r--    1 brunovoi  admin         0 May 15  1998 EuroSanBol
-rw-r--r--    1 brunovoi  admin         0 May 15  1998 EuroSanBolIta
-rw-r--r--    1 brunovoi  admin         0 May 15  1998 EuroSanIta
-rw-r--r--    1 brunovoi  admin         0 May 15  1998 EuroSanReg

This is because the font code is contained inside the resource forks  
of the files, and these forks are invisible to ls.

The rest of what you have to do in order to make TeX aware of your  
font files should follow from the rest of the tutorial, with more-or- 
less obvious updates. For example:

- It's not really necessary to look for Karl-Berry-style file names,  
you can just use the original file names TimesTenRom*.

- The place to put additional .map files is now /usr/local/teTeX/ 
share/texmf.local/fonts/map/ (system-wide setup) or ~/Library/texmf/ 
fonts/map/ (per-user setup).

- Be sure to use "sudo -H updmap-sys" in the first case, and updmap  
in the second case. (It's best if someone else on this list can  
confirm this, as I'm still uncomfortable with the foo vs. foo-sys  
mechanism).

Good luck,

Bruno------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list