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.
Zdeněk Wagner http://hroch486.icpf.cas.cz/wagner/ http://icebearsoft.euweb.cz 2015-04-14 15:16 GMT+02:00 Sasi Kumar <sasi....@gmail.com>: > 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: > > \documentclass[a4paper,12pt]{article} > \usepackage[margin=1in]{geometry} > \usepackage{fontspec} > \usepackage{polyglossia,xltxtra} > \newfontfamily\malayalamfont[Script=Malayalam,Mapping=tex-text]{Rachana} > \setmainfont[Script=Malayalam, HyphenChar="0000, Mapping=tex-text]{Rachana} > \usepackage{xltxtra} > \defaultfontfeatures{Mapping=tex-text} > \setromanfont{FreeSerif} > > \usepackage{url} > \headheight=15pt > \usepackage{fancyhdr} > \setdefaultlanguage{malayalam} > \date{} > > \begin{document} > (Sir Frederick William Herschel, 1738--1822) > > "ഗ്രഹം" > > ``planet'' > \end{document} > > Thanks in advance for any solution. > > Regards, > Sasi > > -- > V. Sasi Kumar > Free Software Foundation of India > Please see: http://swatantryam.blogspot.com/ > > > > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex > >
-------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex