On Wed, 2006-05-17 at 19:40 -0400, James Cloos wrote:
> 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.
> 

Looking at xfontsel -pattern -*-courier-*-*-*-*-*-*-*-*-*-*-iso10646-1
I see the same odd glyphs with freetype 2.1.10 and freetype 2.2.1, so
it is probably not a regression.

Matthias



_______________________________________________
Freetype-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to