From 7a940d0a4b20f7ddaa5bfd44da564ff83d4c2dd2 Mon Sep 17 00:00:00 2001 From: jpirnay Date: Fri, 13 Mar 2026 21:38:29 +0100 Subject: [PATCH] Fix --- src/activities/reader/EpubReaderActivity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activities/reader/EpubReaderActivity.cpp b/src/activities/reader/EpubReaderActivity.cpp index 990d8179..8d450aa5 100644 --- a/src/activities/reader/EpubReaderActivity.cpp +++ b/src/activities/reader/EpubReaderActivity.cpp @@ -884,7 +884,7 @@ bool EpubReaderActivity::drawCurrentPageToBuffer(const std::string& filePath, Gf if (spineIndex < 0 || spineIndex >= epub->getSpineItemsCount()) spineIndex = 0; // Apply the reader orientation so margins match what the reader would produce - applyReaderOrientation(renderer, SETTINGS.orientation); + ReaderUtils::applyOrientation(renderer, SETTINGS.orientation); // Compute margins exactly as render() does int marginTop, marginRight, marginBottom, marginLeft;