mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
add hasSystemFonts device property (#7535)
Add system + user paths to the ReMarkable (has normal linux paths)
This commit is contained in:
@@ -42,6 +42,7 @@ function CanvasContext:init(device)
|
||||
self.isKindle = device.isKindle
|
||||
self.isPocketBook = device.isPocketBook
|
||||
self.should_restrict_JIT = device.should_restrict_JIT
|
||||
self.hasSystemFonts = device.hasSystemFonts
|
||||
self:setColorRenderingEnabled(device.screen.isColorEnabled())
|
||||
|
||||
-- NOTE: Kobo's fb is BGR, not RGB. Handle the conversion in MuPDF if needed.
|
||||
|
||||
Reference in New Issue
Block a user