[OS X TeX] kerning and TFM problems
Ingo Reich
ireich at mac.com
Mon Mar 21 16:44:29 EST 2005
Hi Steffen,
I forgot to say that a used a small programm called 'dfontifier'
(donationware) to convert the mac-specific ttf-files to a ttf-format
ttf2pt1 can read.
Ingo
Am 21.03.2005 um 19:45 schrieb Ingo Reich:
> Hi Steffen,
> I got HelveticaNeue to work in a standard LaTeX environment (don't
> know about Context) as follows: 1. extract the .ttf-files with the
> help of fondu, 2. convert to pfb (and generate the afm-files) with
> the help of ttf2pt1 (use the binary in Tom Kiffe's CMacTex
> distribution – runs natively on OS X –, not the one that comes with
> i-installer) 3. convert the pfb-files (with another binary of Tom
> Kiffe's) to pfa and change the fontname *within* the file from
> 'Unknown' to the real name, reconvert to pfb (again with Tom Kiffe's
> binaries); change the fontnames within the afm-files from 'Unknown'
> to the real name 4. generate the .map, tfm- and vf-files with
> fontinst (just use the latinfamily macro). Sounds complicated, is
> complicated, but worked for me.
> Hope this helps,
> Ingo
>
>
> Am 21.03.2005 um 17:55 schrieb Steffen Wolfrum:
>
>> Hi,
>>
>> I want to use OSX HelveticaNeue font.
>>
>> So I open it in FontForge and - because I'd like to use the kerning
>> information - generate the Font with its PFB, AFM and TFM files.
>>
>>
>> According to Bill's help page it should work by (renaming and)
>> placing the phnr8r.tfm in its tfm folder, the phnr8a.afm and
>> phnr8a.pfb in its respective folders (within my texfm-font tree).
>>
>> Then I need a mapfile texnansi-helveticaneue.map with the line:
>>
>> phnr8r HelveticaNeue 4 < phnr8a.pfb texnansi.enc
>>
>> And my test file looks like this (ConTeXt):
>>
>> \loadmapfile[texnansi-adobe-helveticaneue.map]
>>
>> \definefontsynonym[HelveticaNeue][phnr8r][encoding=texnansi]
>> \definefont[MySecondFont][HelveticaNeue]
>> \starttext
>> \MySecondFont I sang of leaves, of leaves of gold, and leaves of gold
>> there grew.
>> \stoptext
>>
>> But it results in problems with the TFM file. Why?
>>
>>
>> ! Font \**MySecondFont**=phnr8r at 12.0pt not loadable: Bad metric
>> (TFM) file.
>> <to be read again>
>> \relax
>> \dododefinefont ...ontspec {#2}\rawfontidentifier
>> \let
>> \localrelativefontsiz...
>>
>> \redodefinefont #1#2#3->\dododefinefont {#1}{#2}
>> \doifsetupselse {#3}
>> {\setup...
>> l.7 \MySecondFont
>> I sang of leaves, of leaves of gold, and leaves of
>> gold th...
>>
>> ?
>>
>>
>>
>> Steffen
>> --------------------- 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 Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
>>
>>
>>
> ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
> Dr. Ingo Reich
> Universität Tübingen
> Deutsches Seminar
> Wilhelmstr. 50
> D-72074 Tübingen
>
> Tel.: 0049-7071-29 72964
> Fax: 0049-7071-29 5321
>
> ingo.reich at uni-tuebingen.de
> http://www.linguistik.uni-tuebingen.de/reich/
> ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
>
> --------------------- 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 Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
>
>
>
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
Dr. Ingo Reich
Universität Tübingen
Deutsches Seminar
Wilhelmstr. 50
D-72074 Tübingen
Tel.: 0049-7071-29 72964
Fax: 0049-7071-29 5321
ingo.reich at uni-tuebingen.de
http://www.linguistik.uni-tuebingen.de/reich/
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
--------------------- 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 Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX
mailing list