Skip to content

Commit

Permalink
Djvu file rotation direction fixed (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
espettia authored Dec 11, 2023
1 parent be4400f commit 4902eae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/djvu/djvu-document.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 4902eae

Please sign in to comment.