From fe0fde65f066d5e9a107a26eaec8fdbfe195f92e Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Fri, 26 Feb 2010 15:04:49 +0200 Subject: Checksum loaded fonts Store checksums of already loaded fonts in the database to avoids reloading them, this isn't much faster but it avoids reloading the fonts and the huge memory consumption. Is there a faster way to hash a file? --- otfl-font-dum.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'otfl-font-dum.lua') diff --git a/otfl-font-dum.lua b/otfl-font-dum.lua index 5b83b3b..5c0d1ed 100644 --- a/otfl-font-dum.lua +++ b/otfl-font-dum.lua @@ -48,7 +48,7 @@ end fonts.names = fonts.names or { } -fonts.names.version = 2.002 -- not the same as in context +fonts.names.version = 2.003 -- not the same as in context fonts.names.basename = "otfl-names.lua" fonts.names.new_to_old = { } fonts.names.old_to_new = { } -- cgit v1.2.3