<div dir="ltr">Your main font is Rachana, your default language is Malayalam. You do not use any language/script switching. Although you define Roman font, it will never be used. You have to use \setotherlanguage{english} and put the English text inside \textenglish{...}. In such a case these texts will be typeset in the roman font. alternatively you can use the ucharclasses package.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Zdeněk Wagner<br><a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br><div class="gmail_quote">2015-04-14 15:16 GMT+02:00 Sasi Kumar <span dir="ltr"><<a href="mailto:sasi.fsf@gmail.com" target="_blank">sasi.fsf@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Although I had written about this problem earlier and got some responses, I continue to be plagued by the absence of "curly" quotes and mdashes. I am giving a minimal working example below. It gives a pdf that has rectangles where I have placed quotes and dashes:<div><br></div><div><div>\documentclass[a4paper,12pt]{article}</div><div>\usepackage[margin=1in]{geometry}</div><div>\usepackage{fontspec}</div><div>\usepackage{polyglossia,xltxtra}</div><div>\newfontfamily\malayalamfont[Script=Malayalam,Mapping=tex-text]{Rachana}</div><div>\setmainfont[Script=Malayalam, HyphenChar="0000, Mapping=tex-text]{Rachana}</div><div>\usepackage{xltxtra}</div><div>\defaultfontfeatures{Mapping=tex-text}</div><div>\setromanfont{FreeSerif}</div><div><br></div><div>\usepackage{url}</div><div>\headheight=15pt</div><div>\usepackage{fancyhdr}</div><div>\setdefaultlanguage{malayalam}</div><div>\date{}</div><div><br></div><div>\begin{document}</div><div>(Sir Frederick William Herschel, 1738--1822) </div><div><br></div><div>"ഗ്രഹം" </div><div><br></div><div>``planet'' </div><div>\end{document}</div><div><br></div><div>Thanks in advance for any solution.</div><div><br></div><div>Regards,</div><div>Sasi</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div>V. Sasi Kumar<br>Free Software Foundation of India<br>Please see: <a href="http://swatantryam.blogspot.com/" target="_blank">http://swatantryam.blogspot.com/</a></div>
</font></span></div></div>
<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>