summaryrefslogtreecommitdiff
path: root/pango-view/pango-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango-view/pango-view.c')
-rw-r--r--pango-view/pango-view.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/pango-view/pango-view.c b/pango-view/pango-view.c
new file mode 100644
index 00000000..9771e8cc
--- /dev/null
+++ b/pango-view/pango-view.c
@@ -0,0 +1,23 @@
+#include <config.h>
+#include "viewer.h"
+
+extern const PangoViewer pangocairo_viewer;
+extern const PangoViewer pangoxft_viewer;
+extern const PangoViewer pangoft2_viewer;
+extern const PangoViewer pangox_viewer;
+
+const PangoViewer *viewers[] = {
+#ifdef HAVE_CAIRO_XLIB
+ &pangocairo_viewer,
+#endif
+#ifdef HAVE_XFT
+ &pangoxft_viewer,
+#endif
+#ifdef HAVE_FREETYPE
+ &pangoft2_viewer,
+#endif
+#ifdef HAVE_X
+ &pangox_viewer,
+#endif
+ NULL
+};