[luatex] finding pk fonts with kpse

Elie Roux elie.roux at telecom-bretagne.eu
Wed May 19 20:22:13 CEST 2010


Hello,

I have trouble finding pk fonts with the LuaTeX's kpse library (I'm 
using latest trunk). When I execute testinitas.lua (attached) with the 
(attached) yinitas.600pk in 
/home/eroux/.texmf-var/fonts/pk/ljfour/public/gothic/yinitas.600pk I get:

eroux at norgz-laptop:~/booklets/newbenedictiones$ texlua testinitas.lua
kpse.find_file('yinitas', 'pk') failed
kpse.find_file('yinitas', 'pk', 600) failed
kpse.lookup('yinitas', {format='pk'}) failed
'kpsewhich -format pk yinitas' says:
/home/eroux/.texmf-var/fonts/pk/ljfour/public/gothic/yinitas.600pk

So, I don't really know how to find the font. Can someone help me?

Also, in a big document when I added

kpse.find_file('yinitas', 'pk')

I got

lualatex: ../../../source/texk/kpathsea/tex-make.c:49: set_maketex_mag: 
Assertion `dpi != 0 && bdpi != 0' failed.

Sadly, I cannot reproduce this problem in a minimal example... It 
appears with the ConTeXt font loading files, so it may appear in ConTeXt 
too, I don't really know if helps finding the problem...

Thank you,
-- 
Elie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yinitas.600pk
Type: application/octet-stream
Size: 147996 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20100519/8cb022c2/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testinitas.lua
Type: text/x-lua
Size: 605 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20100519/8cb022c2/attachment-0001.bin>


More information about the luatex mailing list