make default font size consistent

This commit is contained in:
chrox
2014-01-03 11:12:26 +08:00
parent 23982b185e
commit 71ddd8aa91
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ local CreOptions = {
spacing = 15,
item_font_size = DCREREADER_CONFIG_FONT_SIZES,
values = DCREREADER_CONFIG_FONT_SIZES,
default_value = 22,
default_value = DCREREADER_CONFIG_DEFAULT_FONT_SIZE,
args = DCREREADER_CONFIG_FONT_SIZES,
event = "SetFontSize",
},

View File

@@ -79,7 +79,7 @@ function ReaderFont:onReadSettings(config)
self.font_size = config:readSetting("font_size")
if not self.font_size then
--@TODO change this! 12.01 2013 (houqp)
self.font_size = 29
self.font_size = DCREREADER_CONFIG_DEFAULT_FONT_SIZE
end
self.ui.document:setFontSize(Screen:scaleByDPI(self.font_size))