summaryrefslogtreecommitdiff
path: root/otfl-font-otf.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2011-10-07 02:27:05 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2011-10-07 02:27:05 +0200
commit1e3820ff158bb9d23e9d75116fecd28a64656d2c (patch)
tree4b649cd38ffe8774dc1835aca5af0a2f023908d6 /otfl-font-otf.lua
parent116531893e5556d196dd0b4ca83eea6e31fbe644 (diff)
downloadluaotfload-1e3820ff158bb9d23e9d75116fecd28a64656d2c.tar.gz
Sync with ConTeXt beta 2011.10.07 00:40
Diffstat (limited to 'otfl-font-otf.lua')
-rw-r--r--otfl-font-otf.lua4
1 files changed, 2 insertions, 2 deletions
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