23 Jul
2019
23 Jul
'19
5:03 p.m.
On 23 July 2019 16:21:18 CEST, luigi scarso
On Tue, Jul 23, 2019 at 1:03 PM Marcel Fabian Krüger
wrote: Hi,
whenever LuaTeX loads a TTF font but only uses a single glyph, which happens to be the notdef glyph (GID=0), LuaTeX complains about
(type 2): there are no glyphs in the subset
Of course this isn't true, because the notdef *is* in the subset.
This happens because LuaTeX always includes the notdef glyph, so it is never counted. The problem can be fixed by explicitly testing for this case.
Do you have an example ?
Of course: \starttext \font\test=logix.ttf\test \char"F0000 \stoptext See https://github.com/u-fischer/luaotfload/issues/73 for some context.