Commit 8753ae8b authored by Kristian Høgsberg's avatar Kristian Høgsberg

2005-05-16 Kristian Høgsberg <krh@redhat.com>

        * poppler/CairoOutputDevX.cc: Track changes to cairo Xlib surface
        constructors.

        * poppler/CairoFontEngine.cc (cairo_font_face_destroy): Make this
        static.
parent 2e17106e
2005-05-16 Kristian Høgsberg <krh@redhat.com>
* poppler/CairoOutputDevX.cc: Track changes to cairo Xlib surface
constructors.
* poppler/CairoFontEngine.cc (cairo_font_face_destroy): Make this
static.
Thu May 12 23:10:45 2005 Jonathan Blandford <jrb@redhat.com>
* glib/poppler.gidl: add metadata file.
......
......@@ -60,7 +60,7 @@ static CairoOutFontSubst cairoOutSubstFonts[16] = {
// CairoFont
//------------------------------------------------------------------------
void cairo_font_face_destroy (void *data)
static void cairo_font_face_destroy (void *data)
{
CairoFont *font = (CairoFont *) data;
......
......@@ -17,6 +17,7 @@
#include <math.h>
#include <cairo.h>
#include <cairo/cairo-xlib.h>
#include <X11/Xutil.h>
#include "goo/gfile.h"
#include "GlobalParams.h"
......@@ -108,8 +109,8 @@ CairoOutputDevX::createCairo(GfxState *state) {
gc = XCreateGC(display, pixmap, GCForeground, &gcv);
XFillRectangle(display, pixmap, gc, 0, 0, w, h);
surface = cairo_xlib_surface_create_for_pixmap_with_visual(display, pixmap,
DefaultVisual(display, DefaultScreen(display)));
surface = cairo_xlib_surface_create_with_visual(display, pixmap,
DefaultVisual(display, DefaultScreen(display)));
cairo = cairo_create (surface);
cairo_surface_destroy (surface);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment