mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
using font module for getting fonts (commit f95231d789)
renamed function names using camelCase (issue #62)
This commit is contained in:
5
font.lua
5
font.lua
@@ -8,7 +8,7 @@ Font = {
|
||||
ffont = "sans",
|
||||
|
||||
-- built in fonts
|
||||
fonts = {"sans", "cjk", "mono",
|
||||
fonts = {"sans", "cjk", "mono",
|
||||
"Courier", "Courier-Bold", "Courier-Oblique", "Courier-BoldOblique",
|
||||
"Helvetica", "Helvetica-Oblique", "Helvetica-BoldOblique",
|
||||
"Times-Roman", "Times-Bold", "Times-Italic", "Times-BoldItalic",},
|
||||
@@ -42,6 +42,5 @@ end
|
||||
|
||||
function Font:update()
|
||||
self.faces = {}
|
||||
clearglyphcache()
|
||||
clearGlyphCache()
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user