[luatex] glyph to Unicode code point

maxwell maxwell at umiacs.umd.edu
Thu Mar 29 19:28:49 CEST 2018


On 2018-03-29 04:01, Hans Hagen wrote:
> \directlua {
>     for n in node.traverse(tex.box[0].list) do
>         if n.id == node.id("glyph") then
>             print(
>                 fonts.hashes.identifiers[n.font].properties.filename,
> 
> fonts.hashes.identifiers[n.font].characters[n.char].tounicode
>             )
>         end
>     end
> }

Thank you, that worked perfectly!

    Mike Maxwell



More information about the luatex mailing list