[cairo] Bug in X11 backend ?

mpsuzuki at hiroshima-u.ac.jp mpsuzuki at hiroshima-u.ac.jp
Wed Apr 11 21:50:16 PDT 2007


Dear Sir,

I had ever submitted a patch to work with legacy X11 server
missing fontconfing and Xrender. See:
http://lists.freedesktop.org/archives/cairo/2006-October/008075.html
http://lists.freedesktop.org/archives/cairo/2006-November/008406.html
I expected Behdad could review my patch, but no replies at
present.

Regards,
mpsuzuki

On Wed, 11 Apr 2007 21:37:26 -0700
"Mike Emmel" <mike.emmel at gmail.com> wrote:

>I ran into the fact that the xlib backend will not compile if Xrender
>is not present.
>
>I made this change not sure if its right the function did not seem to
>actually depend on Xrender at that level.
>
>diff --git a/src/cairo-xlib-private.h b/src/cairo-xlib-private.h
>index 8ba46a2..83511c4 100644
>--- a/src/cairo-xlib-private.h
>+++ b/src/cairo-xlib-private.h
>@@ -66,11 +66,7 @@ _cairo_xlib_add_close_display_hook (Display
>*display, void (*func) (Display *, v
> cairo_private void
> _cairo_xlib_remove_close_display_hook (Display *display, void *key);
>
>-#if CAIRO_HAS_XLIB_XRENDER_SURFACE
>-
> #include "cairo-xlib-xrender.h"
> slim_hidden_proto (cairo_xlib_surface_create_with_xrender_format);
>
>-#endif
>-
> #endif /* CAIRO_XLIB_PRIVATE_H */
>_______________________________________________
>cairo mailing list
>cairo at cairographics.org
>http://cairographics.org/cgi-bin/mailman/listinfo/cairo


More information about the cairo mailing list