[cairo-bugs] [Bug 38904] Garbled font with --enable-xlib-xcb
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Jul 2 12:48:06 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=38904
--- Comment #5 from Uli Schlachter <psychon at znc.in> 2011-07-02 12:48:05 PDT ---
Ok, let's try something more intrusive:
cairo-xcb-surface-render.c, line 4421, at the beginning of the function
_cairo_xcb_surface_render_glyphs add the following:
return CAIRO_INT_STATUS_UNSUPPORTED;
That will make cairo do all font rendering via fallback to the image surface.
Let's hope firefox calls cairo_surface_flush often enough...
If this doesn't help, the problem is somewhere in xlib-xcb (some font-magic?
dunno).
Also, I couldn't reproduce this yet. How long does it usually take for you to
hit this? Is it always in the same text on the page (e.g. always a bold/italic
text)? What happens when you force redraws, e.g. via scrolling or selecting
text?
Where in thunderbird where you seeing this?
diff --git a/src/cairo-xcb-surface-render.c b/src/cairo-xcb-surface-render.c
index ad7454f..6adc4ff 100644
--- a/src/cairo-xcb-surface-render.c
+++ b/src/cairo-xcb-surface-render.c
@@ -4418,6 +4418,7 @@ _cairo_xcb_surface_render_glyphs (cairo_xcb_surface_t
*surface,
cairo_status_t status;
cairo_bool_t overlap;
+ return CAIRO_INT_STATUS_UNSUPPORTED;
if (unlikely (! _operator_is_supported (surface->flags, op)))
return CAIRO_INT_STATUS_UNSUPPORTED;
--
Configure bugmail: https://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