<div dir="ltr"><div><div>Thanks Zdenek. I am using the same font in Ubuntu and Windows. It is called "Lohit Tamil". Both Ubuntu and Cygwin seem to be running the same version of xetex - 3.1415926. The sub-version seems a little different. However, I don't know how to ensure that the same exact version of xelatex is running on both Cygwin and Ubuntu. I used the setup manager on Cygwin which offers only one version; on Ubuntu I used the Synaptic package manager.<br>
<br> I am appending below the output of "xelatex -version" from both operating systems. One thing is curious, though. While on Cygwin, it says, "compiled with Harfbuzz version 0.9.17, there is no mention of Harfbuzz on Ubuntu. <br>

<br></div>=== xelatex -version on Cygwin:<br>XeTeX 3.1415926-2.5-0.9999.3-2013053010 (TeX Live 2013/Cygwin)<br>kpathsea version 6.1.1<br>Copyright 2013 SIL International and Jonathan Kew.<br>There is NO warranty.  Redistribution of this software is<br>

covered by the terms of both the XeTeX copyright and<br>the Lesser GNU General Public License.<br>For more information about these matters, see the file<br>named COPYING and the XeTeX source.<br>Primary author of XeTeX: Jonathan Kew.<br>

Compiled with ICU version 51.1; using 51.2<br>Compiled with zlib version 1.2.8; using 1.2.8<br>Compiled with FreeType2 version 2.4.12; using 2.4.12<br>Compiled with Graphite2 version 1.2.1; using 1.2.3<br>Compiled with HarfBuzz version 0.9.17; using 0.9.25<br>

Compiled with fontconfig version 2.10.1; using 2.10.93<br>Compiled with libpng version 1.5.14; using 1.5.14<br>Compiled with poppler version 0.20.5<br><br></div>=== xelatex -version on Ubuntu<br>XeTeX 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian)<br>
kpathsea version 5.0.0<br>Copyright 2009 SIL International and Jonathan Kew.<br>There is NO warranty.  Redistribution of this software is<br>covered by the terms of both the XeTeX copyright and<br>the Lesser GNU General Public License.<br>
For more information about these matters, see the file<br>named COPYING and the XeTeX source.<br>Primary author of XeTeX: Jonathan Kew.<br>Compiled with ICU version 3.8.1 [with modifications for XeTeX]<br>Compiled with zlib version 1.2.3.4; using 1.2.3.4<br>
Compiled with FreeType2 version 2.4.8; using 2.4.8<br>Compiled with fontconfig version 2.8.0; using 2.8.0<br>Compiled with libpng version 1.2.46; using 1.2.46<br>Compiled with poppler version 0.18.2<br><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sat, Feb 22, 2014 at 8:18 PM, Zdenek Wagner <span dir="ltr"><<a href="mailto:zdenek.wagner@gmail.com" target="_blank">zdenek.wagner@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2014-02-22 9:31 GMT+01:00 dsv <<a href="mailto:ojdfpiv@gmail.com">ojdfpiv@gmail.com</a>>:<br>
<div class="">> I am using xelatex on Ubuntu (xubuntu, actually) linux to typeset a Tamil<br>
> document. Most characters display correctly in the pdf generated by xelatex.<br>
> The unicode consonant ஶ displays okay, but when combined with vowels, the<br>
> display screws up. E.g. when combined with the vowel இ, I am supposed to get<br>
> ஶி ; however, the xelatex pdf output shows ஶ◌ி ; i.e. a spurious dotted<br>
> circle appears between the consonant and the vowel. The same combined<br>
> character displays fine on a unicode compatible editor such as gedit. All<br>
> consonants other than ஶ combine correctly with vowels. Moreover, I don't see<br>
> the problem in the pdf output of xelatex on a Windows machine with Cygwin.<br>
> There xelatex seems to do fine. It's only on *buntu linux that I see a<br>
> problem. Any help or bug fixes are appreciated.<br>
><br>
</div>Can you try to remove the font from Ubuntu and install exactly the<br>
same font used in Windows? Maybe you do not have the same version. If<br>
it helps, the font in Ubuntu is not correct. If it does not help, it<br>
is probably a bug in Harfbuzz. And of course, I hope you have the same<br>
version of xetex on both platforms (TeX Live 2012 used ICU, TeX Live<br>
2013 uses Harfbuzz, gedit probably uses pango but I am not sure).<br>
<div class=""><br>
> The latex header that I use is<br>
><br>
> \documentclass [a4paper] {article}<br>
> \usepackage {fontspec}<br>
> \usepackage {xunicode}<br>
> \setmainfont[Script=Tamil]{Lohit Tamil}<br>
> \begin {document}<br>
> ...<br>
> ...<br>
><br>
><br>
><br>
><br>
</div>> --------------------------------------------------<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>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
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><br>
<br>
<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>
</font></span></blockquote></div><br></div>