[cairo] Windows Show Glyph Bug

Gerdus van Zyl gerdusvanzyl at gmail.com
Tue Oct 27 12:07:08 PDT 2009


I found a bug that only appears on windows surface without alpha.
Surface with alpha uses the fallbacks and does not show this bug.
It looks like it's setting a clip when showing glyphs and does not
remove the clip again.
My cairo using code worked in 1.8.8 but does not in current git
version. See attached images for illustration and patch that fixes the
bug. Probably the wrong way to fix it but works in my limited testing
using my code.

thanks.

~Gerdus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: err.png
Type: image/png
Size: 3704 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20091027/4e40f08d/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: good.png
Type: image/png
Size: 3186 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20091027/4e40f08d/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Move-SaveDC-before-setting-clip.patch
Type: application/octet-stream
Size: 1156 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20091027/4e40f08d/attachment.obj 


More information about the cairo mailing list