From aa0c29fa58914dd744e5940d649de4dd61d6c695 Mon Sep 17 00:00:00 2001 From: ishmal Date: Fri, 11 Aug 2006 10:00:51 +0000 Subject: [PATCH] Tweak switch so that pango-cairo can be used in situations where cairo is built without freetype. Including cairo-ft.h when cairo does not have freetype (such as cairo1.2.2 on win32) will cause an error. --- src/extension/internal/pdf-cairo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extension/internal/pdf-cairo.cpp b/src/extension/internal/pdf-cairo.cpp index 28ce5384a..52ca35e33 100644 --- a/src/extension/internal/pdf-cairo.cpp +++ b/src/extension/internal/pdf-cairo.cpp @@ -63,15 +63,15 @@ #include #include -#include #include #include #ifdef RENDER_WITH_PANGO_CAIRO #include +#else +#include #endif - namespace Inkscape { namespace Extension { namespace Internal { -- 2.30.2