[cairo] patch for show_glyphs for strings consisting of all spaces

Behdad Esfahbod behdad at cs.toronto.edu
Fri Aug 12 20:37:10 PDT 2005

I see an empty (0 bytes) attachment.

On Fri, 12 Aug 2005, Vladimir Vukicevic wrote:

> If a string consisting of all spaces (or other blank characters with
> either width or height 0), the call to
> cairo_clip_intersect_to_rectangle() in _cairo_gstate_show_glyphs blows
> up because, I believe, pixman returns an error due to the 0 width or
> height region.  The attached patch just does an early exit from
> show_glyphs if the extents are 0-width or 0-height.
>      - Vlad


More information about the cairo mailing list