[cairo] patch for show_glyphs for strings consisting of all spaces
vladimirv at gmail.com
Fri Aug 12 20:31:44 PDT 2005
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 0 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050812/e954a3da/cairo-show-space-glyphs.obj
More information about the cairo