add font size menu entry

It changes screen DPI and may needs to reboot the reader to take effect.
This should fix #746.
This commit is contained in:
chrox
2014-07-27 21:41:38 +08:00
parent 49ee4f4e4a
commit 87e667748a
9 changed files with 178 additions and 51 deletions

View File

@@ -237,7 +237,7 @@ local TouchMenu = InputContainer:new{
item_height = Screen:scaleByDPI(50),
bordersize = Screen:scaleByDPI(2),
padding = Screen:scaleByDPI(5),
footer_height = Screen:scaleByDPI(50),
footer_height = 48 + Screen:scaleByDPI(5),
fface = Font:getFace("ffont", 20),
width = nil,
height = nil,