Jin-Hwan Cho wrote:
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?

Fix in trunk. It was an oversight: I never expected anybody to
use read_tfm() in a texlua script. In a normal tex run, deleting
a font with 'f==0' would be bad (as that is the nullfont).

Anyway, fixed now.  Thank you for the continuous testing and
bug reports!

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

Reply via email to