mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
use DroidSansFallback for all major fonts
we need DroidSansFallback for internalization :)
This commit is contained in:
@@ -8,7 +8,7 @@ Device = {
|
||||
|
||||
function Device:getModel()
|
||||
local std_out = io.popen("grep 'MX' /proc/cpuinfo | cut -d':' -f2 | awk {'print $2'}", "r")
|
||||
local cpu_mod = std_out:read()
|
||||
local cpu_mod = std_out:read()
|
||||
if not cpu_mod then
|
||||
local ret = os.execute("grep 'Hardware : Mario Platform' /proc/cpuinfo", "r")
|
||||
if ret ~= 0 then
|
||||
@@ -122,7 +122,7 @@ function Device:usbPlugIn()
|
||||
if self.charging_mode == false and self.screen_saver_mode == false then
|
||||
Screen:saveCurrentBB()
|
||||
--UIManager:show(InfoMessage:new{
|
||||
--text = "Going into USB mode... ",
|
||||
--text = "Going into USB mode... ",
|
||||
--timeout = 2,
|
||||
--})
|
||||
--util.sleep(1)
|
||||
|
||||
@@ -5,9 +5,10 @@ Font = {
|
||||
-- default font for menu contents
|
||||
cfont = "droid/DroidSansFallback.ttf",
|
||||
-- default font for title
|
||||
tfont = "NimbusSanL-BoldItal.cff",
|
||||
--tfont = "NimbusSanL-BoldItal.cff",
|
||||
tfont = "droid/DroidSansFallback.ttf",
|
||||
-- default font for footer
|
||||
ffont = "droid/DroidSans.ttf",
|
||||
ffont = "droid/DroidSansFallback.ttf",
|
||||
|
||||
-- default font for reading position info
|
||||
rifont = "droid/DroidSans.ttf",
|
||||
|
||||
Reference in New Issue
Block a user