[Dev-luatex] Fonts used for luatex discretionaries

David Carlisle d.p.carlisle at gmail.com
Fri Jul 29 21:39:30 CEST 2022


Normally a hyphen inserted at a line break comes from the font used for the
current word.

If the luatex extended {before}{after}{nobreak} syntax is used in
\hyphenation the same is true unless the nobreak field is empty in which
case the font from (I think) the end of the paragraph is used.

This is LuaTeX, Version 1.15.0 (TeX Live 2022)

You can work around the issue by repeating the following character so

{-}{w}{w} instead of {-}{}{}w

in the attached example, but this seems wrong?

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/dev-luatex/attachments/20220729/288623f9/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hyphenation.pdf
Type: application/pdf
Size: 21386 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/dev-luatex/attachments/20220729/288623f9/attachment-0001.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hyphenation.tex
Type: application/octet-stream
Size: 465 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/dev-luatex/attachments/20220729/288623f9/attachment-0001.obj>


More information about the dev-luatex mailing list