summaryrefslogtreecommitdiff
path: root/otfl-font-nms.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-03-30 14:20:37 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2010-03-30 14:20:37 +0200
commit33e804f8b3ff14ff7541ec09f49fe5c010a6e5ba (patch)
tree02334443d61d4217d81be7f74589a60de88024d2 /otfl-font-nms.lua
parent2144889333ddc6fcd4293097ec884b9bd460c4ac (diff)
downloadluaotfload-33e804f8b3ff14ff7541ec09f49fe5c010a6e5ba.tar.gz
Do garbage collection
Patch from Taco.
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r--otfl-font-nms.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index 5431c20..e0bc384 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -160,6 +160,7 @@ function fontloader.fullinfo(...)
local f = fontloader.open(...)
local m = f and fontloader.to_table(f)
fontloader.close(f)
+ collectgarbage('collect')
-- see http://www.microsoft.com/typography/OTSPEC/features_pt.htm#size
if m.fontstyle_name then
for _,v in pairs(m.fontstyle_name) do