try this <div><div>\setmainfont[Script=Devanagari]{Sanskrit2003} </div><div><br></div><div>example is for devanagari font, put tamil font instead and give it a try. <br><br><div class="gmail_quote">On Tue, Dec 14, 2010 at 9:58 AM, Sengottuvel <span dir="ltr"><<a href="mailto:sengottuvl@gmail.com">sengottuvl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Dear all,<br><br>I am using following code:<br><br>\documentclass{article}<br>\usepackage{unicode}<br>\usepackage{xltxtra}<br>
\setmainfont[Mapping=tex-text]<div>{Lohit Tamil}<br>\begin{document}<br><br>\section{தமிழ்}<br>
அனைத்து மனிதர்களும் சுயமரியாதையையும் உரிமங்களையும் சமமாகவும் சுதந்திரமாகவும் பெற்றே பிறக்கிறார்கள்.<br>
<br>\end{document}<br><br>My compile command is:<br><br>xelatex file name.tex<br><br>Tamil font display the pdf. But the output is some struggle...<br><br>Pdf not clear.<br><br>what can do.,.<br><br><br><br>Thank you!</div>
<br clear="all"><font color="#888888"><br>-- <br>with regards,<br>T.Sengottuvel<br>
</font><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>
<br></blockquote></div><br></div></div>