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

Keith Packard keithp at keithp.com
Fri Aug 12 22:47:53 PDT 2005


On Fri, 2005-08-12 at 20:31 -0700, 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.

I fixed one such bug a couple of days ago; pixman_union_rect_with_region
(or whatever it is called) was returning an error when the rectangle was
empty.

-keith

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050812/2004b316/attachment.pgp


More information about the cairo mailing list