#endif
#include "gvplugin_device.h"
+#ifdef HAVE_PANGOCAIRO
#include <gdk-pixbuf/gdk-pixbuf.h>
typedef enum {
{0.,0.}, /* default page width, height - points */
{96.,96.}, /* dpi */
};
+#endif
gvplugin_installed_t gvdevice_gdk_pixbuf_types[] = {
+#ifdef HAVE_PANGOCAIRO
{FORMAT_BMP, "bmp:cairo", 4, &gdk_pixbuf_engine, &device_features_gdk_pixbuf},
{FORMAT_ICO, "ico:cairo", 4, &gdk_pixbuf_engine, &device_features_gdk_pixbuf},
{FORMAT_JPEG, "jpe:cairo", 4, &gdk_pixbuf_engine, &device_features_gdk_pixbuf},
{FORMAT_PNG, "png:cairo", 4, &gdk_pixbuf_engine, &device_features_gdk_pixbuf},
{FORMAT_TIFF, "tif:cairo", 4, &gdk_pixbuf_engine, &device_features_gdk_pixbuf},
{FORMAT_TIFF, "tiff:cairo", 4, &gdk_pixbuf_engine, &device_features_gdk_pixbuf},
+#endif
{0, NULL, 0, NULL, NULL}
};