[XeTeX] Xelatex, kannada, sanskrit and ligatures

Gareth Hughes garzohugo at gmail.com
Sat Feb 26 12:30:44 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 26/02/11 06:39, Harish Gopala wrote:
> Hello,
> 
> I have the problem with Xelatex. When I compile the below file using
> xelatex, it complains a little while compiling, but the ligatures are
> all wrong in the output pdf file.

Saying that the ligatures are all wrong isn't too helpful. Do you mean
that the ligatures are not forming (likely) or that the wrong ligatures
are forming (less likely).

Please help. The source is as below:
> ----------------------
> \documentclass[12pt]{article}
> \usepackage{fontspec}
> \newfontfamily{\Kannada}{Tunga}
> \newfontfamily{\Devanagari}{CDAC-GISTSurekh}

Without seeing the output or knowing the fonts, it is likely that you
have to turn script features on in fontspec. Try rewriting the font
calls with

\newfontfamily{\Kannada}[Script=Kannada]{Tunga}
\newfontfamily{\Devanagari}[Script=Devanagari]{CDAC-GISTSurekh}

Hope that helps,

Gareth.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFNaORj9UDttp8yrx4RAm3HAKCvmj/TO1/JbOW3898E3Kt+fw3qYgCfTIWR
LNAWc9w4pWBUPZjiRWXq3pc=
=0v5b
-----END PGP SIGNATURE-----


More information about the XeTeX mailing list