[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] FreeType version 2.2.1 released
From: |
James Cloos |
Subject: |
Re: [ft-devel] FreeType version 2.2.1 released |
Date: |
Wed, 17 May 2006 19:40:09 -0400 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/23.0.0 (gnu/linux) |
Changing line 194 of your patch from:
if ( strike_index != 0xFFFFU )
to
if ( strike_index != 0xFFFFU && ft_face->available_sizes != NULL)
avoids a NULL dereference in FT_Do_SBit_Metrics() in ftfuncs.c.
After that change I can't crash xfs, but any ttf font (sfnt/glyf font)
showns only odd glyphs in a 16bit encoding such as iso10646-1. 8bit
encodings work fine, as do type1 fonts.
stderr reports:
/usr/bin/xfs error: Warning: FreeTypeRasteriseGlyph() returns an error,
/usr/bin/xfs error: so the backend tries to set a white space.
I've done some debugging in gdb, but have not figured it out, yet.
-JimC
Re: [ft-devel] FreeType version 2.2.1 released, James Cloos, 2006/05/16