From 8b43811812ce94a796e1084f32a1d9d483c396ef Mon Sep 17 00:00:00 2001 From: zwim <36999612+zwim@users.noreply.github.com> Date: Sun, 16 Jan 2022 18:19:27 +0100 Subject: [PATCH] Reset to one core (#8579) --- frontend/document/document.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/document/document.lua b/frontend/document/document.lua index 7b84e336e..57f206a47 100644 --- a/frontend/document/document.lua +++ b/frontend/document/document.lua @@ -428,6 +428,9 @@ function Document:renderPage(pageno, rect, zoom, rotation, gamma, render_mode, h if not rect then logger.warn("aborting, since we do not have a specification for that part") -- required part not given, so abort + if hinting then + Device:enableCPUCores(1) + end return end -- only render required part