diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2011-09-19 22:04:27 +0930 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2011-09-19 18:45:38 +0200 |
commit | ce7372db64ee807dc2b491e121fbe557dbf697e8 (patch) | |
tree | 96af77851be74be1bd960829609b6a07fec8b57a /regtest | |
parent | 6cf7330089c4dcc1099906d9c37c3607a2a1eeba (diff) |
regtest: render cairo at 72ppi
For consistency with splash. It is faster and easier to compare with splash results.
Diffstat (limited to 'regtest')
-rw-r--r-- | regtest/backends/cairo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regtest/backends/cairo.py b/regtest/backends/cairo.py index 0ec361f8..a990ddf7 100644 --- a/regtest/backends/cairo.py +++ b/regtest/backends/cairo.py @@ -28,8 +28,8 @@ class Cairo(Backend): def create_refs(self, doc_path, refs_path): out_path = os.path.join(refs_path, 'cairo') - p1 = subprocess.Popen([self._pdftocairo, '-cropbox', '-e', '-png', doc_path, out_path], stderr = subprocess.PIPE) - p2 = subprocess.Popen([self._pdftocairo, '-cropbox', '-o', '-png', doc_path, out_path], stderr = subprocess.PIPE) + p1 = subprocess.Popen([self._pdftocairo, '-cropbox', '-r', '72', '-e', '-png', doc_path, out_path], stderr = subprocess.PIPE) + p2 = subprocess.Popen([self._pdftocairo, '-cropbox', '-r', '72', '-o', '-png', doc_path, out_path], stderr = subprocess.PIPE) return self._check_exit_status2(p1, p2, out_path) def _create_diff(self, ref_path, result_path): |