[XeTeX] XeTeX crashes with a font

Jonathan Kew jonathan_kew at sil.org
Wed Feb 7 00:32:56 CET 2007


On 6 Feb 2007, at 11:07 pm, Pablo Rodríguez wrote:

> Using one of the Army fonts (http://www.dafont.com/army.font) within a
> XeLaTeX document, I get the following error:
>
> <ArmyExpanded(Army Expanded:Regular)@34.27pt
> [208]<NATIVE-FONTMAP:ArmyExpanded/H>
> fontmap: ArmyExpanded/H -> /usr/share/fonts/drakfont/ttf/Army
> Expanded.ttf(Identity-H)
>
> pdf_font>> Input encoding "Identity-H" requires at least 2 bytes.
> pdf_font>> The -m <00> option will be assumed for
> "/usr/share/fonts/drakfont/ttf/Army Expanded.ttf".
>
> ** ERROR ** sfnt: Freetype failure...
>
> Output file removed.
>
> I guess it is a FreeType bug (2.3.1), but I would like to have more
> information to add to the already reported FreeType bug.

No, it's not a bug in Freetype, it's a bug in xdvipdfmx. It doesn't  
handle fonts with an old "format 0" OS/2 table correctly; it asks  
Freetype for more data than is actually present (and then complains  
when FT can't access it!)

I have just fixed it in the source, but it'll be a little while  
before a new release is ready as there are other changes in process.

JK



More information about the XeTeX mailing list