summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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