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

Michael Hutchinson m.j.hutchinson at gmail.com
Wed Feb 9 14:43:25 EST 2011

On Wed, Feb 9, 2011 at 2:08 PM, Ashok Gelal <ashokgelal at gmail.com> wrote:
> 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.

Agreed, but FWIW, the Cairo text API is explicitly documented to be a
"toy" text API, and it's recommended to use Pango:

Michael Hutchinson

More information about the Mono-osx mailing list