mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
copt deduplicate: font settings (#10885)
This commit is contained in:
@@ -421,7 +421,7 @@ function ReaderThumbnail:_getPageImage(page)
|
||||
-- will be croped out after drawing), we will show them just as rendered.
|
||||
self.ui.rolling.rendering_state = nil -- Remove any partial rerendering icon
|
||||
self.ui.view:onSetViewMode("page") -- Get out of scroll mode
|
||||
if self.ui.font.gamma_index < 30 then -- Increase font gamma (if not already increased),
|
||||
if self.ui.document.configurable.font_gamma < 30 then -- Increase font gamma (if not already increased),
|
||||
self.ui.document:setGammaIndex(30) -- as downscaling will make text grayer
|
||||
end
|
||||
self.ui.document:setImageScaling(false) -- No need for smooth scaling as all will be downscaled
|
||||
|
||||
Reference in New Issue
Block a user