[lltx] Patching fonts with the luaotfload callback "luaotfload.patch_font"
khaledhosny at eglug.org
Mon Feb 21 17:11:14 CET 2011
On Mon, Feb 21, 2011 at 05:04:39PM +0100, Ulrike Fischer wrote:
> > BTW, you can save "tfmdata" to a file using:
> > table.tofile("file.lua", tfmdata, true)
> > If you want to inspect its structure.
> Well here starts the problems. I can see the structure, but how can
> I understand it? Which tables and table entries do I have to copy to
> get a clean reencoding? Above I set the "indices" to copy the queen
> to the "K" (which normally shows a king in this font). But I doubt
> that the bounding box and other things are correct.
> Also the tfmdata seems to contain a lot of data more than once. E.g.
> "indices" exist also in the luatex table.
I'd check the luatex manual, also some fields are not interpreted by
the backed but internal to the lua code (anything not mentioned in the
manual). If something not clear, asking on luatex list (and CC Hans if
needed) might help (I don't know most of these fields myself).
More information about the lualatex-dev