[XeTeX] Displaying Devanagari characters with virama

Zdenek Wagner zdenek.wagner at gmail.com
Sun Mar 25 17:56:46 CEST 2012


2012/3/25 R (Chandra) Chandrasekhar <chyavana at gmail.com>:
> Dear Folks,
>
> This is a question regarding difference in output when the same file is
> compiled using xelatex and lualatex. The minimal example below also explains
> the difference:
>
AFAIK lua(la)tex does not yet support Devanagari, it just displays the
glyphs without using correctly all OpenType tables. Try eg word
संक्षिप्त, i-matra will be at the wrong place.
> ---
> \documentclass{article}
> \usepackage{fontspec}
> \newfontfamily{\skr}[Script=Devanagari]{Sanskrit 2003}
> \begin{document}
> \noindent When this file is compiled by xelatex, the character {\skr क्} is
> shown with a virāma or mark at the bottom to denote absence of the
> \textit{a} vowel sound.
>
> \medskip
>
> \noindent When compiled by lualatex, the same character appears without the
> right half, and without the virāma. Although this is appropriate as a
> combining form, it seems to me inelegant when used alone as here. Is there
> any way to obtain the xelatex result of consonant plus virama using
> lualatex?
> \end{document}
> ---
>
> The outputs from xelatex and lualatex are attached correspondingly-named PNG
> files.
>
> Thanks.
>
> Chandra
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



More information about the XeTeX mailing list