[luatex] Combining diacritics in some fonts: "(linebreak): invalid list tail, probably missing glue"

Nikola Lečić nikola.lecic at anthesphoria.net
Wed May 10 14:16:24 CEST 2017


On Wed, 10 May 2017 09:36:55 +0200
Ulrike Fischer <luatex at nililand.de> wrote:

> And the combining accent doesn't work correctly (with lualatex) in
> Old Standard if serbian is used:
> 
> \documentclass{article}
> \usepackage[serbian]{babel}
> \usepackage{fontspec}
> \setmainfont{Old Standard}
> \setsansfont{CMU Serif}
> \begin{document}
> \selectlanguage{serbian}
> %
> 
> \mbox{ко\char"0302дx}
> \mbox{ко^^^^0302дx}
> 
> \sffamily
> \mbox{ко\char"0302дx}
> \mbox{ко^^^^0302дx}
> 
> \end{document}

Oh...! 'дх' is completely lost.

Actually, your investigation gives me a perfect workaround: I can
enclose the problematic words (where a diacritic sign appears in the
middle) in another language, say \textenglish{}. This way a proper
kerning is preserved. Losing hyphenation is not a big problem in
texlive-sr, since there's not many words with combining diacritics in
it.

Ulrike, thank you for investigating this!

-- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 331 bytes
Desc: OpenPGP digital signature
URL: <http://tug.org/pipermail/luatex/attachments/20170510/f09fd491/attachment.sig>


More information about the luatex mailing list