summaryrefslogtreecommitdiff
path: root/tex/context/base/font-otf.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2011-10-07 00:40:00 +0200
committerHans Hagen <pragma@wxs.nl>2011-10-07 00:40:00 +0200
commita4ef31e11f4182991b1f7199dd12371817453e41 (patch)
tree8796dc10c47310def4524b2087e737199e24b77d /tex/context/base/font-otf.lua
parent19b106225668503fab35675eb9e16780c3077fa3 (diff)
downloadcontext-a4ef31e11f4182991b1f7199dd12371817453e41.tar.gz
beta 2011.10.07 00:40
Diffstat (limited to 'tex/context/base/font-otf.lua')
-rw-r--r--tex/context/base/font-otf.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/font-otf.lua b/tex/context/base/font-otf.lua
index 83b961e28..6a75a0c5c 100644
--- a/tex/context/base/font-otf.lua
+++ b/tex/context/base/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