diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-07-13 01:15:46 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-07-22 00:36:24 +0200 |
| commit | 2f2df8e53124bee8bc8312f37bc8608dc46085d6 (patch) | |
| tree | 820157a6294115fe0b4bbb0d41ef3526cf20e2f0 /run | |
| parent | 95fc64295a860814ddee477c46e2028ea1a1f15c (diff) | |
Use PDF screenshots for the manual.
Diffstat (limited to 'run')
| -rwxr-xr-x | run/dcpomatic | 3 | ||||
| -rwxr-xr-x | run/dcpomatic_kdm | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/run/dcpomatic b/run/dcpomatic index 7e8f923a3..8ce6d060a 100755 --- a/run/dcpomatic +++ b/run/dcpomatic @@ -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 diff --git a/run/dcpomatic_kdm b/run/dcpomatic_kdm index 98a681680..7bae70388 100755 --- a/run/dcpomatic_kdm +++ b/run/dcpomatic_kdm @@ -20,6 +20,9 @@ elif [ "$1" == "--i18n" ]; then elif [ "$1" == "--perf" ]; then shift perf record build/src/tools/dcpomatic2_kdm $* +elif [ "$1" == "--screenshot" ]; then + shift + GTK_PATH=/usr/local/lib/gtk-3.0 GTK_MODULES=gtk-vector-screenshot build/src/tools/dcpomatic2_kdm $* else build/src/tools/dcpomatic2_kdm $* fi |
