[XeTeX] xdvipdfmx segmentation fault

Rémy Oudompheng oudomphe at clipper.ens.fr
Wed Jul 18 15:14:49 CEST 2007


oudomphe at clipper.ens.fr (Rémy Oudompheng) writes:
> Gerrit Sangel <z0idberg at gmx.de> writes:
>> I’ve got the same problems, with a 32 bit Gentoo (x86). 
>
> This is because Gentoo sets FT_CONFIG_OPTION_OLD_INTERNALS to False in
> latest Freetype versions. There must be some code in xdvipdfmx using
> it. Other distros may leave it to True to preserve compatibility with old
> programs. 

I took libXfont (bug #6918) as an example, so this is a patch to avoid
accessing the long_metrics field in TT_HoriHeader, the metrics should be
retrieved by using the hmtx and vmtx tables. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xdvipdfmx-0.4-avoid-ftinternals.patch
Type: text/x-patch
Size: 3075 bytes
Desc: Eliminate dependencies on FT internals
Url : http://tug.org/pipermail/xetex/attachments/20070718/3fb28557/attachment.bin 
-------------- next part --------------

It now works with the new FreeType, and I hope it does not change the
expected behaviour.

Regards, 
  Rémy Oudompheng


More information about the XeTeX mailing list