From 4e7b74ae46c6f9b03f66c7fe91914d6c8dc7614f Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 5 Dec 2023 23:55:25 -0500 Subject: [PATCH] Djvu file rotation direction fixed --- backend/djvu/djvu-document.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/djvu/djvu-document.c b/backend/djvu/djvu-document.c index eba210a8..737cfcce 100644 --- a/backend/djvu/djvu-document.c +++ b/backend/djvu/djvu-document.c @@ -340,7 +340,7 @@ djvu_document_render (EvDocument *document, switch (rc->rotation) { case 90: - rotation = DDJVU_ROTATE_90; + rotation = DDJVU_ROTATE_270; tmp = page_height; page_height = page_width; page_width = tmp; @@ -351,7 +351,7 @@ djvu_document_render (EvDocument *document, break; case 270: - rotation = DDJVU_ROTATE_270; + rotation = DDJVU_ROTATE_90; tmp = page_height; page_height = page_width; page_width = tmp;