This commit is contained in:
Qingping Hou authored and Frans de Jonge committed 2019-03-03 13:10:45 +01:00
1 parent e29c2275ef
commit 4d8da96177
14 files changed
+23 -15

No files matched your search

+1 -3
View File
@@ -39,9 +39,6 @@ local Runtimectl = require("runtimectl")
local Device = require("device")
Runtimectl:init(Device)
local Font = require("ui/font")
Font:setScreen(Device.screen)
if G_reader_settings:has("color_rendering") then
Runtimectl:setColorRenderingEnabled(G_reader_settings:isTrue("color_rendering"))
else
@@ -139,6 +136,7 @@ end
-- font
local fontmap = G_reader_settings:readSetting("fontmap")
if fontmap ~= nil then
local Font = require("ui/font")
for k, v in pairs(fontmap) do
Font.fontmap[k] = v
end