1

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}

enter image description here

1

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}

xelatex from TeXLive 2015 and 2014

enter image description here

xelatex from MikTeX

enter image description here

lualatex (both)

enter image description here

  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.