mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fix test
This commit is contained in:
committed by
Frans de Jonge
parent
e29c2275ef
commit
4d8da96177
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user