Excerpts from Peter Hutterer's message of Tue Sep 29 22:15:21 -0700 2009:

> miGlyphs seems to deal with 0-width glyphs just fine

I guess I don't understand how this can be --
ProcRenderCompositeGlyphs passes all of the glyphs to CompositeGlyphs
which just calls down to the Glyphs function. If that is miGlyphs,
you've got a loop that looks like:

        while (n--)
        {
            glyph = *glyphs++;
            pPicture = GlyphPicture (glyph)[pScreen->myNum];
            ...
            (uses of pPicture)
        }

I don't see how pPicture won't end up as NULL for zero-sized glyphs,
which should yield a nice segfault.

Am I missing something obvious here?

-- 
[email protected]

Attachment: signature.asc
Description: PGP signature

_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to