From 1e3820ff158bb9d23e9d75116fecd28a64656d2c Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Fri, 7 Oct 2011 02:27:05 +0200 Subject: Sync with ConTeXt beta 2011.10.07 00:40 --- otfl-font-otf.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'otfl-font-otf.lua') diff --git a/otfl-font-otf.lua b/otfl-font-otf.lua index 83b961e..6a75a0c 100644 --- a/otfl-font-otf.lua +++ b/otfl-font-otf.lua @@ -345,8 +345,8 @@ function otf.load(filename,format,sub,featurefile) local attr = lfs.attributes(name) featurefiles[#featurefiles+1] = { name = name, - size = size, - time = time, + size = attr and attr.size or 0, + time = attr and attr.modification or 0, } end end -- cgit v1.2.3