mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
enable usage of system fonts
This commit is contained in:
committed by
Martín Fernández
parent
1919764825
commit
454ed0ebeb
@@ -40,6 +40,7 @@ function CanvasContext:init(device)
|
||||
self.isDesktop = device.isDesktop
|
||||
self.isEmulator = device.isEmulator
|
||||
self.isKindle = device.isKindle
|
||||
self.isPocketBook = device.isPocketBook
|
||||
self.should_restrict_JIT = device.should_restrict_JIT
|
||||
self:setColorRenderingEnabled(device.screen.isColorEnabled())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user