use DroidSansFallback for all major fonts

we need DroidSansFallback for internalization :)
pull/36/head
Qingping Hou 11 years ago
parent 8968efeb72
commit 1fe2e5c377

@ -8,7 +8,7 @@ Device = {
function Device:getModel() function Device:getModel()
local std_out = io.popen("grep 'MX' /proc/cpuinfo | cut -d':' -f2 | awk {'print $2'}", "r") 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 if not cpu_mod then
local ret = os.execute("grep 'Hardware : Mario Platform' /proc/cpuinfo", "r") local ret = os.execute("grep 'Hardware : Mario Platform' /proc/cpuinfo", "r")
if ret ~= 0 then if ret ~= 0 then
@ -122,7 +122,7 @@ function Device:usbPlugIn()
if self.charging_mode == false and self.screen_saver_mode == false then if self.charging_mode == false and self.screen_saver_mode == false then
Screen:saveCurrentBB() Screen:saveCurrentBB()
--UIManager:show(InfoMessage:new{ --UIManager:show(InfoMessage:new{
--text = "Going into USB mode... ", --text = "Going into USB mode... ",
--timeout = 2, --timeout = 2,
--}) --})
--util.sleep(1) --util.sleep(1)

@ -5,9 +5,10 @@ Font = {
-- default font for menu contents -- default font for menu contents
cfont = "droid/DroidSansFallback.ttf", cfont = "droid/DroidSansFallback.ttf",
-- default font for title -- default font for title
tfont = "NimbusSanL-BoldItal.cff", --tfont = "NimbusSanL-BoldItal.cff",
tfont = "droid/DroidSansFallback.ttf",
-- default font for footer -- default font for footer
ffont = "droid/DroidSans.ttf", ffont = "droid/DroidSansFallback.ttf",
-- default font for reading position info -- default font for reading position info
rifont = "droid/DroidSans.ttf", rifont = "droid/DroidSans.ttf",

Loading…
Cancel
Save