\documentclass{book}
\usepackage[usenglish]{babel}
\usepackage{fontspec}
\directlua{
fonts.handlers.otf.addfeature {
name = "testkern",
type = "kern",
data = {
["O"] = { ["f_f_i"] = 500 },
["f_f_i"] = { ["c"] = 500 },
["r"] = { ["fl"] = 500 },
},
}
}
\setmainfont{Latin Modern Roman}[RawFeature = +testkern]
\usepackage{showhyphenation}
\usepackage{showkerning}
\begin{document}
Office\par
Official\par
Butterfly
\end{document}
-
fixed at source, I think mailman.ntg.nl/pipermail/dev-luatex/2022-December/006712.html (not tested)– David CarlisleDec 12, 2022 at 9:31
-
@DavidCarlisle Hmm... "LuaTeX does not insert kerning between hyphens and characters before discretionary hyphens if the hyphen was inserted automatically." – I'm not sure what that is supposed to mean. (At least, I can't find that there is a general issue with kerning between characters and discretionary hyphens.) - Are you able to explain it to me?– keth-texDec 13, 2022 at 3:17
-
@DavidCarlisle Besides, how can I download the indicated source files to test if the issue described above is fixed by them?– keth-texDec 13, 2022 at 3:17
-
You are not clear what you expect I get one more green– David CarlisleDec 13, 2022 at 9:03
-
@DavidCarlisle Unfortunately I don't understand what you're trying to tell me. – How exactly did you do it?– keth-texDec 13, 2022 at 10:31
|
Show 4 more comments