On Sun, Jun 30, 2019 at 11:29 PM Ulrike Fischer <ne...@nililand.de> wrote:
>
> Am Sun, 30 Jun 2019 23:09:21 +0200 schrieb Khaled Hosny:
>
> > On Sun, Jun 30, 2019 at 12:34 AM Ulrike Fischer <ne...@nililand.de> wrote:
> >> With harftex or an older luatex I get:
> >>
> >> 1 beginbfchar
> >> <0052> <0031>
> >> endbfchar
> >
> > By older luatex I assume luatex with non-harf mode?
> >
> >> What's going on here?
> >
> > The Lua code for harf mode uses a new callback in HarfTeX to set the
> > glyphs tounicode values, because the existing mechanisms in luatex are
> > too slow
> > for the way I do it. I set tounicode based on shaping output, so need
> > to be done incrementally after loading the font, while luaotfload does
> > it by analyzing the fonts cmap and GSUB tables and can set them at
> > once while loading the font.
>
> hm. The interesting thing is that it works with luatex 1.11 if I
> load harf-luaotfload in the document, it only fails if I load it in
> \everyjob through a setting in a local lualatex.ini I used to build
> the format. Why is this?

If you are seeing non-empty tounicodes then most likely the font is
not processed in harf mode, the only way I set them is through a
callback that is missing from luatex.

Regards,
Khaled
_______________________________________________
dev-luatex mailing list
dev-luatex@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-luatex

Reply via email to