<div dir="ltr"><div><div>Hi,<br><br></div>the first thing to note is the wrong font name, it is not Lohit-Temil-Classical but Lohit Tamil Classical as you can find by fc-match:<br><br>$ fc-match -v LohitTamilClassical<br>Pattern has 32 elts (size 48)<br>        family: "Lohit Tamil Classical"(s)<br>        familylang: "en"(s)<br>        style: "Regular"(s)<br>        stylelang: "en"(s)<br>        fullname: "Lohit Tamil Classical"(s)<br>        fullnamelang: "en"(s)<br>        slant: 0(i)(s)<br>        weight: 80(i)(s)<br>        width: 100(i)(s)<br>        size: 12(f)(s)<br>        pixelsize: 12.5(f)(s)<br>        foundry: "unknown"(s)<br>        antialias: FcTrue(w)<br>        hintstyle: 2(i)(w)<br>        hinting: FcTrue(w)<br>        verticallayout: FcFalse(s)<br>        autohint: FcTrue(w)<br>        globaladvance: FcTrue(s)<br>        file: "/usr/share/fonts/lohit-tamil-classical/Lohit-Tamil-Classical.ttf"(s)<br>        index: 0(i)(s)<br>        outline: FcTrue(s)<br>        scalable: FcTrue(s)<br>        dpi: 75(f)(s)<br>        rgba: 5(i)(w)<br>        scale: 1(f)(s)<br>        charset: <br>        0000: 00000000 ffffffff f8000001 78000001 00000000 00000004 00800000 00800000<br>        0009: 00000000 00000000 00000000 00000030 00000000 00000000 00000000 00000000<br>        000b: 00000000 00000000 00000000 00000000 d63dc7ec c3ffc718 00813dc7 07ffffc0<br>        0020: 33183000 00000040 00000000 00000000 00000000 02000000 00000000 00000000<br>        0022: 00040000 00000000 00000000 00000000 00000000 00000000 00000000 00000000<br>        0025: 00000000 00000000 00000000 00000000 00000000 00000000 00001000 00000000<br>(s)<br>        lang: ta(s)<br>        fontversion: 163840(i)(s)<br>        capability: "otlayout:DFLT otlayout:deva otlayout:latn otlayout:taml"(s)<br>        fontformat: "TrueType"(s)<br>        embeddedbitmap: FcTrue(s)<br>        decorative: FcFalse(s)<br><br></div>The fontspec package tries to guess similar names if the requested font is not found but it takes time. Anyway, the problem with numbers is caused by selection of a font that does not have them. It may need some tricks as I did in my multilingual book. Can you send me a small sample demonstrating the problem?<br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br><div class="gmail_quote">2016-01-28 17:06 GMT+01:00 Shakthi Kannan <span dir="ltr"><<a href="mailto:shakthimaan@gmail.com" target="_blank">shakthimaan@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
--- On Thu, Jan 28, 2016 at 7:55 PM, Zdenek Wagner<br>
<span class=""><<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</a>> wrote:<br>
| the best way is to use the polyglossia package.<br>
</span>| ...<br>
<span class="">| set the languages by<br>
| \setdefaultlanguage{tamil}<br>
| \setotherlanguage{english}<br>
|<br>
</span><span class="">| either \textenglish{a few words} or<br>
</span>\--<br>
<br>
Worked. I have updated the code snippet that I used for future reference.<br>
<br>
  <a href="https://gist.github.com/shakthimaan/3dcfa64c3bd92ab2378d#gistcomment-1682685" rel="noreferrer" target="_blank">https://gist.github.com/shakthimaan/3dcfa64c3bd92ab2378d#gistcomment-1682685</a><br>
<br>
When I use \frontmatter and \tableofcontents, the Roman numerals are<br>
appearing as square boxes. I am guessing this is because of the change<br>
in the default font. Any suggestion on how this should be configured?<br>
<br>
Many thanks!<br>
<div class="HOEnZb"><div class="h5"><br>
SK<br>
<br>
--<br>
Shakthi Kannan<br>
<a href="http://www.shakthimaan.com" rel="noreferrer" target="_blank">http://www.shakthimaan.com</a><br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
  <a href="http://tug.org/mailman/listinfo/xetex" rel="noreferrer" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</div></div></blockquote></div><br></div>