[ft-devel] Re: xorg crashes with freetype2-2.1.10
Joe Marcus Clarke
marcus at FreeBSD.org
Tue Jul 19 21:24:19 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hin-Tak Leung wrote:
| Found the CVS entry:
| * include/freetype/internal/tttypes.h, src/sfnt/ttsbit.c,
| src/truetype/ttobjs.c, src/cff/cffobjs.c, src/sfnt/sfobjs.c:
| implementing new
| heap-optimized embedded bitmap loader. This one also fixes bug #12107
| checked in by user 'freetype' (David Turner?). they were changed to NULL,
| then to zero - there must be a reason?
Yes, there must be a reason, but that commit message doesn't list
sfdriver.c explicitly. That's why I was wondering what the exact reason
was for the change, and what new steps should be done to get similar
results from FT.
| Jeremy Messenger wrote:
|> On Sun, 17 Jul 2005 15:24:40 -0500, Joe Marcus Clarke
|> <marcus at FreeBSD.org> wrote:
|>> Looks like the freetype module in xorg (and XFree86) makes reference to
|>> SFNT_Service->find_sbit_image which is now 0 in FT 2.1.10 (it used to be
|>> initialized to tt_find_sbit_image). This causes X to die rather
|>> abruptly when trying to dereference this symbol:
|>> I assume this was done by design in FT (though I couldn't find a commit
|>> message that said spoke about this particular change). If so, what
|>> should X be doing to correctly obtain the glyph sbit? Thanks!
|> I have solved the crash. I have been using it for the thirty minutes
|> and no crash so far. If I do unpatch and it will crash within five
|> minutes. Here's patch to put in freetype2/files. Don't know if patch
|> is right, but at least it's fixed for me.
|> I found it by compared freetype2 2.1.9 and 2.1.10, you can check if
|> you want to see for youself. I removed compare of Makefile, configure
|> and other useless stuff.
|> It looks like 2.1.10 removed or disabled *find_sbit_image? Search for
|> 'find_sbit_image' in freetype2-compare.diff.bz2.
| ___________________________________________________________ How much
| free photo storage do you get? Store your holiday snaps for FREE with
| Yahoo! Photos http://uk.photos.yahoo.com
Joe Marcus Clarke
FreeBSD GNOME Team :: gnome at FreeBSD.org
FreeNode / #freebsd-gnome
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the freebsd-gnome