> 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.)
I was not able to reproduce that behaviour. With your minimal example, the glyph substitution was successful for both fonts. (http://http://dropbox.jalasthana.de/lig-test.pdf) This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian) I deviated from your example only in not using the xelibertine package (which is not available anymore, since it was superseded by the libertine package). Manuel Batsching 2012/6/11 <[email protected]>: > 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 > [email protected] > > > > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
