teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)

Gerben Wierda sherlock at rna.nl
Tue Nov 6 10:53:22 EST 2001



<x-flowed ISO-8859-1>This is not what I meant. Bear with me, I am  not a specialist.

To integrate type1 fonts with TeX, I need .afm, .tfm and .pfb files as 
well as a map (for dvips and/or pdftex)

Example: hoekwater

[dumbledore:~/tmp] gerben% find /usr/local/teTeX/share/texmf/fonts -name 
contnav\*
/usr/local/teTeX/share/texmf/fonts/afm/hoekwater/context/contnav.afm
/usr/local/teTeX/share/texmf/fonts/tfm/hoekwater/context/contnav.tfm
/usr/local/teTeX/share/texmf/fonts/type1/hoekwater/context/contnav.pfb
[dumbledore:~/tmp] gerben% grep contnav 
/usr/local/teTeX/share/texmf/dvips/config/*.map
/usr/local/teTeX/share/texmf/dvips/config/context.map:contnav  
ContextNavigation  <contnav.pfb
[snip]

The tfm file can be created with the afm2tfm program.

So, for the Mac OS X fonts, I need to know:

1. Where is the .pfb content? (resource fork? special format?)
2. Where is the .afm content?
3. How do I get a map file

What I then could do is create the .tfm's on my system and add them to 
texmf.macosx. Add the map file. And symbolically link the Mac OS X fonts 
to the teTeX tree. Distributing that would not break a license as I do 
not actually distrubute was Apple has sold to me.

That would then make the Mac OS X fonts accesible. And nobody else would 
have to do the conversion if they install my tree, it would just work.

G

On Tuesday, November 6, 2001, at 10:10 , Michel Bovani wrote:

> Le 5/11/01 à 13:09 -0500 William Adams a écrit :
>>>  On Monday, November 5, 2001, at 03:36 , Troy Goodson wrote:
>>>
>>>  > Why not simply put support for Mac fonts into teTeX?  If all the
>>>  > information is in the file, wouldn't it be better if teTeX itself 
>>> knew
>>>  > what to do with it?
>>>
>>
>> Gerben then replied:
>>
>>>  I agree, this ia a better solution, also copyright-wise. If someone
>>>  knowws how this can be done, I would be happy to make it part of my
>>>  distribution.
>>>
>>
>> I can merely point to instances where this sort of thing has been done
>> in the past---notably Textures and TeX/GX.
>
> Hmm... There are two ways of handling mac fonts :
>
> 1 - The tex driver uses mac fonts across the system mechanism 
> (generally requires ATM) and only across the system mechanism : 
> TeXtures, Macdvi (CMacTeX), OzTeX dvi-previewer, probably TeX/GX.
>
> 2 - The tex driver uses mac fonts or pfb fonts and these fonts may be 
> anywere (provided TeX can access to them) : pdftex, dvips, dvipdfm in 
> CMacTeX, dvips for OzTeX.
>
> I think 2 is the good way. In first cases only mac fonts can be used 
> and bitmap suitcases are required (at least on OS9, but probably on OSX 
> too).
> -- Michel Bovani
>
> -----------------------------------------------------------------
> To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
> "unsubscribe macosx-tex" (no quotes) in the body.
> For additional HELP, send email to <info at email.esm.psu.edu> with
> "help" (no quotes) in the body.
> This list is not moderated, and I am not responsible for
> messages posted by third parties.
> -----------------------------------------------------------------
>


-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
This list is not moderated, and I am not responsible for
messages posted by third parties.
-----------------------------------------------------------------

</x-flowed>




More information about the MacOSX-TeX mailing list