[cairo-bugs] [Bug 19655] Cairo asserts on font-face destroy (SIGABRT)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Mar 16 15:34:46 PDT 2010
http://bugs.freedesktop.org/show_bug.cgi?id=19655
Phil Groce <pgroce at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pgroce at gmail.com
--- Comment #11 from Phil Groce <pgroce at gmail.com> 2010-03-16 15:34:44 PST ---
We're seeing this bug in Cairo 1.8.8 on OSX 10.5.8. (Specifically, it's the
1.8.8-2 package from fink.) A workaround (in Python) seems to be to call
ctx.select_font_face("sans-serif").
This script will tickle this bug; the commented-out line will un-tickle it.
import cairo
s = cairo.ImageSurface(cairo.FORMAT_RGB24, 300, 300)
ctx = cairo.Context(s)
# This line makes the problem go away
#ctx.select_font_face('sans-serif')
while True:
txt = "hi!"
x, y = (140, 140)
ctx.save()
try:
ctx.text_path(txt)
ctx.fill()
finally:
ctx.restore()
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the cairo-bugs
mailing list