[luatex] Extending font dimensions from lua

Taco Hoekwater taco at elvenkind.com
Mon Apr 5 08:57:23 CEST 2010


Khaled Hosny wrote:
> Is there a way to extend font dimensions past what the font actually
> have from lua end?
> 
> I'm trying to emulate XeTeX's OpenType MATH handling, which adds
> additional fontdimen parameters containing the values of MATH table, so
> that code written for XeTeX could be easily extended to LuaTeX.
> 
> P.S. I'm using ConTeXt's OpenType code, so altering the tfm data
> returned to tex end is possible.

Just adding integer entries (index>=8) to the <tfm>.parameters hash
should work.

Best wishes,
Taco


More information about the luatex mailing list