mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
refactoring: remove dead code in font module
This commit is contained in:
parent
1fcc425eac
commit
3ad0ea5777
@ -105,12 +105,4 @@ function Font:getFontList()
|
||||
return fontlist
|
||||
end
|
||||
|
||||
function Font:update()
|
||||
for _k, _v in ipairs(self.faces) do
|
||||
_v:done()
|
||||
end
|
||||
self.faces = {}
|
||||
clearGlyphCache()
|
||||
end
|
||||
|
||||
return Font
|
||||
|
Loading…
Reference in New Issue
Block a user