From 44e0c21f69d0257f395d37af9e783a52aa8fa046 Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 6 Jul 2011 19:53:05 +0530 Subject: [PATCH] turn smart shrinking back on and try --- edgware/editor/print_pdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edgware/editor/print_pdf.py b/edgware/editor/print_pdf.py index 5e5807b..1845e17 100644 --- a/edgware/editor/print_pdf.py +++ b/edgware/editor/print_pdf.py @@ -4,7 +4,7 @@ def print_url_list(urls, width, height, dpi, output_path): clean_urls = [] for u in urls: clean_urls.append("'" + u + "'") - cmd = "wkhtmltopdf -L 0 -R 0 -T 0 -B 0 --disable-smart-shrinking --page-width %d --page-height %f -d %d %s '%s'" % (width, height, dpi, " ".join(clean_urls), output_path,) + cmd = "wkhtmltopdf -L 0 -R 0 -T 0 -B 0 --page-width %d --page-height %f -d %d %s '%s'" % (width, height, dpi, " ".join(clean_urls), output_path,) # print cmd os.system(cmd) return output_path