[pdftex] ttf2afm failure
Raphaël
raphael.droz at gmail.com
Tue Mar 6 01:21:59 CET 2012
Hi,
it seems that `ttf2afm` (1.02) fails to generate afm files properly.
`mkafmmap` from enscript then fails to create a font map apparently
because the Font* attributes values are not prefixed by their proper
names. (I'm using app-text/texlive-core 2011-r5)
eg:
$ ttf2afm ~/.fonts/DejaVuSansMono.ttf -o dejavu.afm
$ grep DejaVuSansMono dejavu.afm
DejaVuSansMono
while for fontforge [1] generated files, it says:
FontName DejaVuSansMono
After a quick look to [2] it should not be too hard to fix.
[1] http://ctan.mines-albi.fr/fonts/dejavu/fonts/afm/public/dejavu/
[2] http://foundry.supelec.fr/gf/project/pdftex/scmsvn/?action=browse&path=%2Ftrunk%2Fsource%2Fsrc%2Ftexk%2Fweb2c%2Fpdftexdir%2Fttf2afm.c&view=markup
best regards
More information about the pdftex
mailing list