Use PDF screenshots for the manual.
[dcpomatic.git] / run / dcpomatic
index 7e8f923a37194099f05c9a630d4f5be0a0f3ff74..8ce6d060a2c23bc0ee3608ed44d20aff97670f28 100755 (executable)
@@ -27,6 +27,9 @@ elif [ "$1" == "--perf" ]; then
 elif [ "$1" == "--scaled" ]; then
     shift
     ~/src/run_scaled/run_scaled --sleep=5 --scale=0.5 $binary $*
+elif [ "$1" == "--screenshot" ]; then
+    shift
+    GTK_PATH=/usr/local/lib/gtk-3.0 GTK_MODULES=gtk-vector-screenshot $binary "$*"
 else
     $binary $*
 fi