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
@@ -353,7 +353,7 @@ end
|
||||
function ReaderFont:getFontSettingsTable()
|
||||
local settings_table = {}
|
||||
|
||||
if Device:isAndroid() or Device:isDesktop() or Device:isEmulator() then
|
||||
if Device:isAndroid() or Device:isDesktop() or Device:isEmulator() or Device:isPocketBook() then
|
||||
for _, item in ipairs(require("ui/elements/font_settings"):getSystemFontMenuItems()) do
|
||||
table.insert(settings_table, item)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user