cjk-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cjk] [mailman] texlive svn write access Fw: Re: revisiting ttf2tfm


From: Peter Breitenlohner
Subject: Re: [cjk] [mailman] texlive svn write access Fw: Re: revisiting ttf2tfm and dvipdfmx
Date: Thu, 18 Jul 2013 14:09:56 +0200 (CEST)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)

On Thu, 18 Jul 2013, Hin-Tak Leung wrote:

The command line is simply:
ttf2tfm wcl-01.ttf -P 3 -E 4 -q -w   address@hidden@

but didn't mention that the same font caused indeterminism!

Peter


I did, in the same e-mail where the above first appear, further down - here it is, again, in full - Note "The two fonts mentioned above, ...":

OK, I have just tested this. Running ttf2tfm (FreeType 1) three times in
exactly the same way gave identical results for subfonts 01-54 and a
segfault for subfont 55.  Doing the same with a copy of ttf2tfm in a
different directory gave different .tfm files.  Converting them to .pl files
shows why that is so: the TFM header contains the command line, including
the relative or absolute path to ttf2tfm and they may differ.  Removing
header bytes >=18 from the .pl files gives identical results.

Doing the same three times with the FreeType 2 version gave identical
results for subfonts 01-57 (no segfault), but different from those above. The slightly different char dimensions obtained via libfreetype instead of
libttf should be OK, but there are also a few differences in the .enc files
and I still have to look into those.

In case you want to do some tests, you can fetch x86_64-linux binaries from
  ftp://ftpth.mppmu.mpg.de/pub/peb/TLtests/ttf2pk2/unstripped/
or
  ftp://ftpth.mppmu.mpg.de/pub/peb/TLtests/ttf2pk2/stripped/

Regards
Peter



reply via email to

[Prev in Thread] Current Thread [Next in Thread]