[luatex] information about ligatures

Stephan Hennig mailing_list at arcor.de
Mon Jan 6 18:14:15 CET 2014


Am 05.01.2014 16:40, schrieb Paul Isambert:
> Stephan Hennig <mailing_list at arcor.de> a écrit:
>> 
>> Can somebody please provide TeX input that results in a glyph node with
>> bit 1 of subtype set?
> 
> My two cents is that you’re using luaotfload and that luaotfload sets
> “subtype” to 256 for some reason; you’ll see ligatures with proper
> subtype 2 if you let TeX do its job with fonts (so use TFM, obviously).
> E.g. this in plain TeX:
> 
>     \setbox0=\hbox{fi}
>     \directlua{%
>       texio.write_nl("This ligature has subtype " .. tex.box[0].head.subtype)
>     }
>     \bye
> 
> It should print “This ligature has subtype 2”.

Thanks!  Yes, current target is LuaLaTeX with luaotfload.  But
preferably it should also work with TFM fonts.

Best regards,
Stephan Hennig


More information about the luatex mailing list