here it seems ok
# luatex --credits
This is LuaTeX, Version 1.11.0 (TeX Live 2020/dev)
The LuaTeX team is Hans Hagen, Hartmut Henkel, Taco Hoekwater, Luigi Scarso.
LuaTeX merges and builds upon (parts of) the code from these projects:
tex : Donald Knuth
etex : Peter Breitenlohner, Phil Taylor and friends
omega : John Plaice and Yannis Haralambous
aleph : Giuseppe Bilotta
pdftex : Han The Thanh and friends
kpathsea : Karl Berry, Olaf Weber and others
lua : Roberto Ierusalimschy, Waldemar Celes and Luiz Henrique de
Figueiredo
metapost : John Hobby, Taco Hoekwater, Luigi Scarso, Hans Hagen and friends
pplib : Paweł Jackowski
fontforge : George Williams (partial)
luajit : Mike Pall (used in LuajitTeX)
Compiled with libharfbuzz 2.5.3; using 2.5.3
Compiled with libpng 1.6.37; using 1.6.37
Compiled with lua version 5.3.5
Compiled with mplib version 2.00
Compiled with zlib 1.2.11; using 1.2.11
Development id: 7169
On Sun, Jun 30, 2019 at 11:52 PM Khaled Hosny
On Sun, Jun 30, 2019 at 11:29 PM Ulrike Fischer
wrote: Am Sun, 30 Jun 2019 23:09:21 +0200 schrieb Khaled Hosny:
On Sun, Jun 30, 2019 at 12:34 AM Ulrike Fischer
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
-- luigi