[XeTeX] Problem with Sanskrit2003 and XeTeX

hanneder at staff.uni-marburg.de hanneder at staff.uni-marburg.de
Mon Jun 11 16:09:10 CEST 2012


Dear All,

I have a question on XeTeX with Devanagari.

The conjunct consonant trya when printed with the font Sanskrit 2003  
is not correct (त्र्य), although the correct form is produced by  
simply changing to the "Nakula"-font. (The appended document contains  
all the files.)

Now Sanskrit 2003 contains the correct ligature on position U+e11c.  
Since all parameters are the same, I guess, because the same document  
produces in one font the wrong, in the other the correct result, the  
question is: where is the
mechanism that creates the problem. Is it inbuild in the font (and  
occurs just in XeTeX)?

To make things worse: if you format in luatex, another error is produced!

Thanks a lot,
Jürgen

Here is the file:


\documentclass{article}
\usepackage{polyglossia,fontspec}
\setdefaultlanguage{english}
\setotherlanguage{sanskrit}
\usepackage{xunicode}
\defaultfontfeatures{Mapping=tex-text}
\usepackage{xelibertine}
\newfontinstance  
\samfull[Script=Devanagari,Mapping=RomDev,Scale=1.05,FakeStretch=1.07]{Sanskrit  
2003}
\newfontinstance  
\samtest[Script=Devanagari,Mapping=RomDev,Scale=1.05,FakeStretch=1.07]{Nakula}
\begin{document}

The following conjunct consonant when printed with the font Sanskrit  
2003 is not correct: {\samfull त्र्य }.

The correct form would be (with the "Nakula"-font): {\samtest त्र्य}.

Now the Sanskrit 2003 contains the correct ligature on position  
U+e11c. Since all parameters are the same, I guess,
because the same document produces in one font the wrong, in the other  
the correct result, the question is: where is the
mechanism that creates the problem. Is it inbuild in the font (and  
occurs just in XeTeX)? To make things worse: if you
format in luatex, another error is produced!



\end{document}

---

Prof. Dr. Juergen Hanneder
Philipps-Universitaet Marburg
FG Indologie u. Tibetologie
Deutschhausstr.12
35032 Marburg
Germany
Tel. 0049-6421-28-24930
hanneder at staff.uni-marburg.de



More information about the XeTeX mailing list