From 4b32d446baa991878d20d3c679a0a2649c28eff5 Mon Sep 17 00:00:00 2001 From: Sanj Date: Tue, 21 Jun 2011 01:50:19 +0530 Subject: [PATCH] try changing dpi --- edgware/editor/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edgware/editor/views.py b/edgware/editor/views.py index 34f9de6..b2bd9ff 100644 --- a/edgware/editor/views.py +++ b/edgware/editor/views.py @@ -641,7 +641,7 @@ def product_pdf(request): def article_pdf(request): a_id = request.GET['id'] article = get_object_or_404_json(Article, pk=a_id) - dpi = request.GET.get('dpi', 300) + dpi = request.GET.get('dpi', 200) width_mm = request.GET.get('width', article.typ.print_width) height_mm = math.ceil(width_mm // article.typ.aspect_ratio) pages = Page.objects.filter(article=article).order_by('page_no')