add hasSystemFonts device property (#7535)

Add system + user paths to the ReMarkable (has normal linux paths)
This commit is contained in:
Martín Fernández
2021-04-19 09:04:31 +02:00
committed by GitHub
parent 9988eab1a1
commit 53234fcdc1
9 changed files with 20 additions and 11 deletions

View File

@@ -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.