try increasing dpi arbitrarily
This commit is contained in:
parent
236ea57a3b
commit
7989765aaa
|
@ -648,7 +648,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', 1200)
|
||||
width_mm = request.GET.get('width', article.typ.print_width)
|
||||
height_mm = int(round(width_mm / article.typ.aspect_ratio))
|
||||
pages = Page.objects.filter(article=article).order_by('page_no')
|
||||
|
|
Loading…
Reference in New Issue
Block a user