2
0
mirror of https://github.com/koreader/koreader synced 2024-11-04 12:00:25 +00:00
koreader/fontchooser.lua

21 lines
474 B
Lua
Raw Normal View History

2012-02-16 07:19:56 +00:00
FontChooser = {
-- font name for menu contents
2012-02-23 16:16:20 +00:00
cfont = "sans",
-- font name for title
tfont = "Helvetica-BoldOblique",
-- font name for footer
ffont = "sans",
2012-02-16 07:19:56 +00:00
-- state buffer
fonts = {"sans", "cjk", "mono",
"Courier", "Courier-Bold", "Courier-Oblique", "Courier-BoldOblique",
"Helvetica", "Helvetica-Oblique", "Helvetica-BoldOblique",
"Times-Roman", "Times-Bold", "Times-Italic", "Times-BoldItalic",},
}
function FontChooser:init()
clearglyphcache()
2012-02-16 07:19:56 +00:00
end