Code

Tweak switch so that pango-cairo can be used in situations where cairo is built witho...
authorishmal <ishmal@users.sourceforge.net>
Fri, 11 Aug 2006 10:00:51 +0000 (10:00 +0000)
committerishmal <ishmal@users.sourceforge.net>
Fri, 11 Aug 2006 10:00:51 +0000 (10:00 +0000)
src/extension/internal/pdf-cairo.cpp

index 28ce5384ae75bd0dcf7952c093719297c97da368..52ca35e330ac47639929f68c2c69afc59f84126a 100644 (file)
 
 #include <cairo.h>
 #include <cairo-pdf.h>
-#include <cairo-ft.h>
 
 #include <pango/pango.h>
 #include <pango/pangofc-fontmap.h>
 
 #ifdef RENDER_WITH_PANGO_CAIRO
 #include <pango/pangocairo.h>
+#else
+#include <cairo-ft.h>
 #endif
-
 namespace Inkscape {
 namespace Extension {
 namespace Internal {