Hi, Taco.

I tested the following simple script with texlua.

#!/usr/bin/env texlua

kpse.set_program_name('luatex')
cmr10 = kpse.find_file('cmr10', 'tfm')
t = font.read_tfm(cmr10, 655360)

I am using Leopard and the version of texlua is

This is LuaTeX, Version snapshot-0.39.0-2009041623 luatex.web v2298

However, I could get assertion failure as

../../../source/texk/web2c/luatexdir/font/texfont.c:1102: failed assertion `f > 0'
Abort trap

Did I miss something or is it a bug?

One more note. kpse.find_file() worked well with virtual files.

Cheers, ChoF.

_______________________________________________
dev-luatex mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/dev-luatex

Reply via email to