# Problem with r- ligatures in XeTeX (with the font Sanskrit 2003)

Simple ligatures with र् r as first element (thus a case different from 'r' rendered improperly in Devanagari ligature ) appear strangely when preceded by a syllable containing an ि : I appears that the ि "attracts" the र r, as can be seen in the screenshot, produced from the simple code below. I just put a nonsense word kikarta, which is displayed in something looking like "rkikata"

This problem can be solve if something like \vphantom{x} is inserted before the र्त rta, but this solution is not viable. Has anybody an idea of how to solve this issue?

\documentclass{article}

\usepackage{fontspec}

\usepackage{polyglossia}

\setmainfont[Script=Devanagari]{Sanskrit 2003}

\begin{document}

किकर्त

\end{document}


Not really an answer, but to be able to show some pictures ...

I get with this example the following outputs on windows. So it could be that there is bug in the miktex xelatex. But I don't know if you are using it.

\documentclass{article}

\usepackage{fontspec}

\usepackage{polyglossia}

\setmainfont[Script=Devanagari]{Nakula}
\setsansfont[Script=Devanagari]{Sanskrit 2003}
\begin{document}

किकर्त \sffamily किकर्त

\end{document}


## lualatex (both)

• Thanks, this is helpful, I indeed use MixTeK, and I see it works well with the Nakula font, it will try this one instead. However, I think that fixing this bug might be useful, do you know whom I could contact to mention it? – Guillaume Jacques Jul 31 '15 at 10:25
• I put a bug report on the miktex site: sourceforge.net/p/miktex/bugs/2382. – Ulrike Fischer Jul 31 '15 at 10:45