Hi, 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:
$ fc-match -v LohitTamilClassical Pattern has 32 elts (size 48) family: "Lohit Tamil Classical"(s) familylang: "en"(s) style: "Regular"(s) stylelang: "en"(s) fullname: "Lohit Tamil Classical"(s) fullnamelang: "en"(s) slant: 0(i)(s) weight: 80(i)(s) width: 100(i)(s) size: 12(f)(s) pixelsize: 12.5(f)(s) foundry: "unknown"(s) antialias: FcTrue(w) hintstyle: 2(i)(w) hinting: FcTrue(w) verticallayout: FcFalse(s) autohint: FcTrue(w) globaladvance: FcTrue(s) file: "/usr/share/fonts/lohit-tamil-classical/Lohit-Tamil-Classical.ttf"(s) index: 0(i)(s) outline: FcTrue(s) scalable: FcTrue(s) dpi: 75(f)(s) rgba: 5(i)(w) scale: 1(f)(s) charset: 0000: 00000000 ffffffff f8000001 78000001 00000000 00000004 00800000 00800000 0009: 00000000 00000000 00000000 00000030 00000000 00000000 00000000 00000000 000b: 00000000 00000000 00000000 00000000 d63dc7ec c3ffc718 00813dc7 07ffffc0 0020: 33183000 00000040 00000000 00000000 00000000 02000000 00000000 00000000 0022: 00040000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0025: 00000000 00000000 00000000 00000000 00000000 00000000 00001000 00000000 (s) lang: ta(s) fontversion: 163840(i)(s) capability: "otlayout:DFLT otlayout:deva otlayout:latn otlayout:taml"(s) fontformat: "TrueType"(s) embeddedbitmap: FcTrue(s) decorative: FcFalse(s) 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? Zdeněk Wagner http://ttsm.icpf.cas.cz/team/wagner.shtml http://icebearsoft.euweb.cz 2016-01-28 17:06 GMT+01:00 Shakthi Kannan <shakthim...@gmail.com>: > Hi, > > --- On Thu, Jan 28, 2016 at 7:55 PM, Zdenek Wagner > <zdenek.wag...@gmail.com> wrote: > | the best way is to use the polyglossia package. > | ... > | set the languages by > | \setdefaultlanguage{tamil} > | \setotherlanguage{english} > | > | either \textenglish{a few words} or > \-- > > Worked. I have updated the code snippet that I used for future reference. > > > https://gist.github.com/shakthimaan/3dcfa64c3bd92ab2378d#gistcomment-1682685 > > When I use \frontmatter and \tableofcontents, the Roman numerals are > appearing as square boxes. I am guessing this is because of the change > in the default font. Any suggestion on how this should be configured? > > Many thanks! > > SK > > -- > Shakthi Kannan > http://www.shakthimaan.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