On Wed, 10 May 2017 09:36:55 +0200
Ulrike Fischer <[email protected]> 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Attachment: pgpVxeslu8EiT.pgp
Description: OpenPGP digital signature

Reply via email to