ttf2pfb -v -m -enc Uni-T1.enc -f FooBar -o foobar.ps foobar.ttf
t1asm -b < foobar.ps > foobar.pfb
printafm foobar.pfb > foobar.afm
afm2tfm foobar.afm
Dazu zwei Fragen:
Erstens: Stimmt das alles so noch oder ist es veraltet? Ich finde
Programme ttf2afm.exe und ttf2tfm.exe, von denen kein Gebrauch gemacht
wird.
Zweitens: Ghostscript ist installiert und das Script printafm existiert
auch. Nur reicht es in einem Batch unter DOS (Windows) nat�rlich nicht
einfach "printafm" zu schreiben. Wie lautet der korrekte vollst�ndige
Aufruf? Die anderen drei Zeilen funktionieren anscheinend.
--
Danke
Axel
Axel Berger schrieb:
> In der Dokumentation von MiKTeX steht �ber die Verwendung von ttf2pfb
> folgende Befehlsfolge:
>
> ttf2pfb -v -m -enc Uni-T1.enc -f FooBar -o foobar.ps foobar.ttf
> t1asm -b < foobar.ps > foobar.pfb
> printafm foobar.pfb > foobar.afm
> afm2tfm foobar.afm
>
> Dazu zwei Fragen:
> Erstens: Stimmt das alles so noch oder ist es veraltet?
Schau dir mal FontForge an.
ttf2pt1 ist auch ganz nett, hat aber einen (noch nicht entfernten) Bug:
> -------- Original-Nachricht --------
> Betreff: Re: [Bugreport - ttf2pt1] Converting to Adobe-Encoding
> Datum: Tue, 29 Sep 2009 20:29:16 -0400
> Von: Sergey Babkin
> An: Robert Hartmann
>
> Robert Hartmann wrote:
>>
>> Good day,
>>
>> I used ttf2pt1 (Version 3.4.4)
>> from http://gnuwin32.sourceforge.net/packages/ttf2pt1.htm
>> explicitly setup-windows-binary
>> http://gnuwin32.sourceforge.net/downlinks/ttf2pt1.php
>>
>> Is it a bug or a feature?
>>
>> Using this command
>>
>> ttf2pt1 -a -b TestLight.TTF ftel8a
>>
>> and
>>
>> ttf2pt1 -a -b -l adobestd TestLight.TTF ftel8a
>>
>> and
>>
>> ttf2pt1 -a -b -G E -l adobestd TestLight.TTF ftel8a
>>
>> produces all afm-file with a line
>> "EncodingScheme FontSpecific"
>>
>> I expected using the parameter -l adobestd
>> a line with
>> "EncodingScheme StandardAdobeEncoding"
>
> I'm not sure by now :-) It's been a while ago, and will require
> me to look at the code. As far as I remember, even though
> the encoding is set as FontSpecific, the glyph names and
> positions in it match the Adobe table. So for all practical
> reasons it should be the same. It should be safe to edit
> the resulting file, cut ou tthe explicit table and
> put the scheme as StandardAdobeEncoding.
>
>> By the way:
>> Do you know if it is necessary
>> to convert ttf with parameter -l adobestd
>> for using the generated *.pfb, *.afm
>> with LaTeX-fontinst?
>> And how the *.enc from parameter
>> -G E get involved into the fontinstallation
>> for LaTeX.
>
> Sorry, don't know that. I myself have never used it with
> LaTeX. Maybe Thomas Henlich could help here.
>
>> At the end I want to point to
>> wrong e-mail-adresses on the
>> project homepage
>> http://ttf2pt1.sourceforge.net/
>> i.e. the adress mhe...@netspace.net.au
>> doesn't exists any more.
>
> Yes, I think Mark has dropped that address a while ago and
> the web pages weren't refreshed for a while. Since Mark
> was the original author, we wanted to keep his contact
> information intact. Thanks for reminding about it.
>
> -SB
Gru� Robert
> Zweitens: Ghostscript ist installiert und das Script printafm existiert
> auch. Nur reicht es in einem Batch unter DOS (Windows) nat�rlich nicht
> einfach "printafm" zu schreiben. Wie lautet der korrekte vollst�ndige
> Aufruf?
Kommt halt darauf an, was f�r ein Skript es ist. Bei einem DOS-Skript:
'call printafm'. Ansonsten den jeweiligen Interpreter (Perl, Python,
whatever) installieren und explizit aufrufen.
--
Uwe
> Wie lautet der korrekte vollst�ndige
> Aufruf?
Kann man aus "printafm" entnehmen:
gswin32c -q -dNODISPLAY -- printafm.ps fontname
Christian
--
Christian Zietz - CHZ-Soft - czietz (at) gmx.net
WWW: http://www.chzsoft.com.ar/
PGP/GnuPG-Key-ID: 0x6DA025CA
Ganz bl�d bin ich offenbar doch. An der Stelle habe ich zuerst
nachgesehen, nur verstanden habe ich die Zeile nicht.
--
Danke
Axel