[Mono-osx] Assertion failed: Cairo Reference Count - only on Mac

Ashok Gelal ashokgelal at gmail.com
Wed Feb 9 14:08:23 EST 2011


This seems to work! This is unbelievable! Spent a month on trying to fix
this silly bug, and replacing Cairo's ShowText with Pango's ShowLayout was
all it needed.
Thank you Felix. You are a life saver! I owe you a coffee or two ;)

PS: This is just a workaround, the bug still exists on Cairo part. I will
file a bug report and will also post this workaround so that anyone looking
for an alternative solution doesn't have to spend 1 month or so.

Thanks,
Ashok

Hi Ashok,
I've hit the same problem in a student project. We figured out that this bug
can be avoided by rendering text using Pango instead of
Cairo.Context.ShowText.
Cheers,
Felix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110209/13cbb13f/attachment.html 


More information about the Mono-osx mailing list