[cairo-bugs] [Bug 38904] Garbled font with --enable-xlib-xcb
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Jul 2 02:19:34 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=38904
--- Comment #2 from Chris Wilson <chris at chris-wilson.co.uk> 2011-07-02 02:19:32 PDT ---
That looks more like a driver bug...
The way xcb distinguishes itself from xlib in the case of glyph rendering is
that it will try to bypass the mask when it can. Disabling that might help at
least point where the bug lies:
diff --git a/src/cairo-xcb-surface-render.c b/src/cairo-xcb-surface-render.c
index d1f2288..36ae401 100644
--- a/src/cairo-xcb-surface-render.c
+++ b/src/cairo-xcb-surface-render.c
@@ -4464,6 +4464,7 @@ _cairo_xcb_surface_render_glyphs (cairo_xcb_surface_t
*surface,
info.glyphs = (cairo_xcb_glyph_t *) glyphs;
info.num_glyphs = num_glyphs;
info.use_mask = overlap || clip != NULL || ! extents.is_bounded;
+ info.use_mask = 0;
status = _clip_and_composite (surface, op, source,
_composite_glyphs, &info,
--
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