From: miklosh Date: Thu, 3 Jan 2008 14:43:35 +0000 (+0000) Subject: Enable text output for Cairo renderer if Cairo has FreeType support enabled X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=df4766b27c15eb949ea06abb3534e31ac6ec99b6;p=inkscape.git Enable text output for Cairo renderer if Cairo has FreeType support enabled --- diff --git a/src/extension/internal/cairo-render-context.cpp b/src/extension/internal/cairo-render-context.cpp index c92dd04bf..4c4fd58b2 100644 --- a/src/extension/internal/cairo-render-context.cpp +++ b/src/extension/internal/cairo-render-context.cpp @@ -70,7 +70,7 @@ #endif -#ifndef PANGO_ENABLE_BACKEND +#ifdef CAIRO_HAS_FT_FONT #include #endif @@ -1405,7 +1405,7 @@ CairoRenderContext::renderGlyphtext(PangoFont *font, NRMatrix const *font_matrix cairo_save(_cr); -#ifndef PANGO_ENABLE_BACKEND +#ifdef CAIRO_HAS_FT_FONT cairo_font_face_t *font_face = cairo_ft_font_face_create_for_pattern(fc_pattern); cairo_set_font_face(_cr, font_face);