mirror of
https://github.com/koreader/koreader
synced 2024-11-18 03:25:46 +00:00
21 lines
474 B
Lua
21 lines
474 B
Lua
|
|
FontChooser = {
|
|
-- font name for menu contents
|
|
cfont = "sans",
|
|
-- font name for title
|
|
tfont = "Helvetica-BoldOblique",
|
|
-- font name for footer
|
|
ffont = "sans",
|
|
|
|
-- 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()
|
|
end
|
|
|