Menu

#2382 xetex doesn't handle a devanagari font correctly

fixed
None
2015-09-03
2015-07-31
U_Fischer
No

This problem as been also discussed at tex.SX:
http://tex.stackexchange.com/questions/257862/problem-with-r-ligatures-in-xetex-with-the-font-sanskrit-2003

When running this document

\documentclass{article}
\usepackage{fontspec}
\setmainfont[Script=Devanagari]{Nakula}
\setsansfont[Script=Devanagari]{Sanskrit 2003}

\begin{document}

किकर्त \sffamily किकर्त 

\end{document}

I get a different output with miktex then with texlive for the Sanskrit font (which I downloaded from http://www.omkarananda-ashram.org/Sanskrit/sanskrit2003.zip). The second "hook" is at the wrong place:

miktex

texlive

I don't know anything about this scripts, so I don't know what could be causing this. Perhaps miktex-xetex has been compiled with other versions of the libraries. In texlive xetex --version reports this

XeTeX 3.14159265-2.6-0.99992 (TeX Live 2015/W32TeX)
kpathsea version 6.2.1
Copyright 2015 SIL International, Jonathan Kew and Khaled Hosny.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the XeTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the XeTeX source.
Primary author of XeTeX: Jonathan Kew.
Compiled with ICU version 55.1; using 55.1
Compiled with zlib version 1.2.8; using 1.2.8
Compiled with FreeType2 version 2.5.5; using 2.5.5
Compiled with Graphite2 version 1.2.4; using 1.2.4
Compiled with HarfBuzz version 0.9.40; using 0.9.40
Compiled with libpng version 1.6.17; using 1.6.17
Compiled with poppler version 0.32.0
Compiled with fontconfig version 2.11.93; using 2.11.93
1 Attachments

Discussion

  • Christian Schenk

    I cannot repoduce this (see my screenshot).

     
  • U_Fischer

    U_Fischer - 2015-07-31

    The "faulty" font on the right (Sanskrit 2003) is in my example this one:
    http://www.omkarananda-ashram.org/Sanskrit/sanskrit2003.zip

    nakulla works fine.

     
  • U_Fischer

    U_Fischer - 2015-07-31

    I tried on another PC: Your sanscrit2003.ttf works fine, "mine" works in TL2015 but fails in miktex. There is something in it that the miktex-xetex doesn't like.

     
  • Christian Schenk

    miktex-xetex uses older library versions:
    Graphite2 version 1.2.1
    HarfBuzz version 0.9.17
    fontconfig 2.10.2

    I will upgrade these libraries.

     
  • Christian Schenk

    • status: open --> in-the-works
     
  • Christian Schenk

    MiKTEX xetex now uses the latest library versions (see miktex-xetex --version), i.e., the problem should be solved now.

     
  • Christian Schenk

    • status: in-the-works --> fixed