[XeTeX] segmentation fault with a given font

Jonathan Kew jonathan_kew at sil.org
Tue Jan 16 19:24:57 CET 2007


On 16 Jan 2007, at 5:18 pm, Pablo Rodríguez wrote:

> Compiling this simple document with XeLaTeX:
>
> \documentclass[a4paper,12pt]{book}
> \usepackage[a4paper]{geometry}
> \usepackage[german,spanish]{babel}
> \usepackage{fontspec}
> \setromanfont{Grandjean Garamond}
> \begin{document}
> hi
> \end{document}
>
> I get a segmentation fault. I know that the problem is in the font
> naming. ....

Naming looks OK....

> And the backtrace is the following:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x081299c6 in icu_3_4::CoverageFormat1Table::getGlyphCoverage
> (this=0x8ba0f4a,
>     glyphID=3) at ../../../../libs/icu-xetex/layout/ 
> CoverageTables.cpp:51
> 51      ../../../../libs/icu-xetex/layout/CoverageTables.cpp: No such
> file or directory.
>         in ../../../../libs/icu-xetex/layout/CoverageTables.cpp
> Current language:  auto; currently c++
> (gdb) bt
> #0  0x081299c6 in icu_3_4::CoverageFormat1Table::getGlyphCoverage (
>     this=0x8ba0f4a, glyphID=3)
>     at ../../../../libs/icu-xetex/layout/CoverageTables.cpp:51
> #1  0x0812bdd3 in icu_3_4::PairPositioningFormat2Subtable::process (
>     this=0x8ba0e1a, glyphIterator=0xbfd553a4, fontInstance=0x8b97928)
>     at ../../../../libs/icu-xetex/layout/Lookups.h:61
> #2  0x081267d4 in icu_3_4::LookupProcessor::applyLookupTable
> (this=0xbfd55410,
>     lookupTable=0x8b9d328, glyphIterator=0xbfd553a4,  
> fontInstance=0x8b97928)
>     at ../../../../libs/icu-xetex/layout/LookupProcessor.cpp:39
> ..........etc.

This looks like a problem with a kerning table in the font. I can't  
tell from the report here whether there's something wrong with the  
font itself, or with the ICU library functions that interpret it. If  
you can run MS Font Validator on the font, it would be interesting to  
see what it reports.

I'm not familiar with this font; is it a freely available font that I  
could take a look at, or a commercial product?

JK



More information about the XeTeX mailing list