summaryrefslogtreecommitdiff
path: root/utils/pango-view.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-07-08 14:45:32 +0200
committerBehdad Esfahbod <behdad@behdad.org>2018-07-08 14:45:32 +0200
commit899841121260d62fc3f1c1728f82f5c02185dd97 (patch)
tree643abf1f58c3b627b786d3b89a103a0df956172f /utils/pango-view.c
parent5ec478dac9146175de7ba4a1f88ebbab963f4c0f (diff)
downloadpango-899841121260d62fc3f1c1728f82f5c02185dd97.tar.gz
Rename pango-view/ dir to utils/
Diffstat (limited to 'utils/pango-view.c')
-rw-r--r--utils/pango-view.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/utils/pango-view.c b/utils/pango-view.c
new file mode 100644
index 00000000..fec00be9
--- /dev/null
+++ b/utils/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
+ &pangocairo_viewer,
+#endif
+#ifdef HAVE_XFT
+ &pangoxft_viewer,
+#endif
+#ifdef HAVE_FREETYPE
+ &pangoft2_viewer,
+#endif
+#ifdef HAVE_X
+ &pangox_viewer,
+#endif
+ NULL
+};