summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e23bc92)
raw | patch | inline | side by side (parent: e23bc92)
author | miklosh <miklosh@users.sourceforge.net> | |
Thu, 3 Jan 2008 14:43:35 +0000 (14:43 +0000) | ||
committer | miklosh <miklosh@users.sourceforge.net> | |
Thu, 3 Jan 2008 14:43:35 +0000 (14:43 +0000) |
src/extension/internal/cairo-render-context.cpp | patch | blob | history |
diff --git a/src/extension/internal/cairo-render-context.cpp b/src/extension/internal/cairo-render-context.cpp
index c92dd04bf95c7383924a6f725f09aff0c561dd3d..4c4fd58b24b7b2628cb82fec45d27d07d384fbd5 100644 (file)
#endif
-#ifndef PANGO_ENABLE_BACKEND
+#ifdef CAIRO_HAS_FT_FONT
#include <cairo-ft.h>
#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);