mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
decouple device from pdfdocument, font & bgr checking
This commit is contained in:
committed by
Frans de Jonge
parent
9e57e56f95
commit
d749591984
@@ -35,12 +35,6 @@ function HtmlBoxWidget:init()
|
||||
},
|
||||
}
|
||||
end
|
||||
if Mupdf.bgr == nil then
|
||||
Mupdf.bgr = false
|
||||
if Device:hasBGRFrameBuffer() then
|
||||
Mupdf.bgr = true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function HtmlBoxWidget:setContent(body, css, default_font_size)
|
||||
|
||||
Reference in New Issue
Block a user