Thanks for that, I got it working exactly right.<br><br>====<br>Harish<br><br><div class="gmail_quote">On Sat, Feb 26, 2011 at 5:00 PM, Gareth Hughes <span dir="ltr"><<a href="mailto:garzohugo@gmail.com">garzohugo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="im"><br>
On 26/02/11 06:39, Harish Gopala wrote:<br>
> Hello,<br>
><br>
> I have the problem with Xelatex. When I compile the below file using<br>
> xelatex, it complains a little while compiling, but the ligatures are<br>
> all wrong in the output pdf file.<br>
<br>
</div>Saying that the ligatures are all wrong isn't too helpful. Do you mean<br>
that the ligatures are not forming (likely) or that the wrong ligatures<br>
are forming (less likely).<br>
<div class="im"><br>
Please help. The source is as below:<br>
> ----------------------<br>
> \documentclass[12pt]{article}<br>
> \usepackage{fontspec}<br>
> \newfontfamily{\Kannada}{Tunga}<br>
> \newfontfamily{\Devanagari}{CDAC-GISTSurekh}<br>
<br>
</div>Without seeing the output or knowing the fonts, it is likely that you<br>
have to turn script features on in fontspec. Try rewriting the font<br>
calls with<br>
<br>
\newfontfamily{\Kannada}[Script=Kannada]{Tunga}<br>
\newfontfamily{\Devanagari}[Script=Devanagari]{CDAC-GISTSurekh}<br>
<br>
Hope that helps,<br>
<br>
Gareth.<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.6 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iD8DBQFNaORj9UDttp8yrx4RAm3HAKCvmj/TO1/JbOW3898E3Kt+fw3qYgCfTIWR<br>
LNAWc9w4pWBUPZjiRWXq3pc=<br>
=0v5b<br>
-----END PGP SIGNATURE-----<br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
  <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</blockquote></div><br>