# 'r' rendered improperly in Devanagari ligature [closed]

Have bumped into a LaTeX-specific problem (on my current system at least) in typesetting Devanagari: 'r' in conjunct consonants such as 'ntrya' does not render properly (e.g., as न्त्र्य, see image below) for me using xelatex. It has rendered properly in the past, so I'm not sure what's going on. I've looked at fontspec and tried various fonts, and the problem doesn't appear in Libreoffice (I'm on Ubuntu 12.04, using texlive 2011). Sure I must be missing something silly. Here's a mwe,

\documentclass{article}
\usepackage{fontspec}
\usepackage{polyglossia}
\usepackage{geometry}
\geometry{papersize={5in,3in},total={4in,2in}}
\setmainfont[Script=Devanagari]{Sanskrit 2003}
\newfontfamily\latinfont[Script=Latin,Ligatures=TeX]{Linux Libertine O}
\setdefaultlanguage{sanskrit}
\setotherlanguages{english}
\newcommand\eng[1]{\latinfont #1}
\begin{document}
{\huge मन्त्र्यमाण \eng{--- This is not what

\bigskip

“mantryamāṇa” should look like!}}
\end{document}


which produces the image below on my machine:

Does anyone know why I'm getting this alternate form and how I can switch to the expected 'r' form?

Based on Jamadagni's feedback, I upgraded to TeXLive 2012 and the problem has disappeared.

-

## closed as too localized by Speravir, Claudio Fiandrino, Werner, Andrew Swann, lockstepDec 28 '12 at 20:07

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

After some digging, I found that this problem is discussed in this XeTeX Mailing List Archive thread (tug.org/mailman/htdig/xetex/2012-June/023192.html), with some of the opinion that this bug (sourceforge.net/p/xetex/bugs/65) is the culprit. From what I can tell, this is an ongoing bug specific to XeTeX, for which there is no solution at present. If anyone knows of one, please do let us know. –  camatkara Dec 28 '12 at 15:56
Thanks Speravir ;). @Jamadagni's feedback gave me hope that an upgrade would solve the issue and it has. After upgrading, my conjunct characters display properly. I'll update the post so that the solution is clear to others who have the same problem. –  camatkara Dec 28 '12 at 19:48