[XeTeX] Displaying Devanagari characters with virama
R (Chandra) Chandrasekhar
chyavana at gmail.com
Sun Mar 25 17:35:48 CEST 2012
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:
---
\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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lualatex-output.png
Type: image/png
Size: 667 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120325/46ad53d8/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xelatex-output.png
Type: image/png
Size: 1029 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120325/46ad53d8/attachment-0001.png>
More information about the XeTeX
mailing list