summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2009-11-30 21:25:16 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2009-11-30 21:25:16 +0200
commitc5592c3f93143bd24312004459889c885aa1e86f (patch)
tree3491fda146d7792d0e4844e5c93008f85b5ec8f6
parent0cae50001accfdfd744e5e57ded8383cc64da860 (diff)
downloadluaotfload-c5592c3f93143bd24312004459889c885aa1e86f.tar.gz
Sync with ConTeXt (a small typo)
-rw-r--r--otfl-font-cid.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/otfl-font-cid.lua b/otfl-font-cid.lua
index 7165288..57bfcd3 100644
--- a/otfl-font-cid.lua
+++ b/otfl-font-cid.lua
@@ -78,10 +78,11 @@ end
local template = "%s-%s-%s.cidmap"
+
local function locate(registry,ordering,supplement)
local filename = format(template,registry,ordering,supplement)
local hashname = lower(filename)
- local cidmap = fonts.cid.map[hasnname]
+ local cidmap = fonts.cid.map[hashname]
if not cidmap then
if trace_loading then
logs.report("load otf","checking cidmap, registry: %s, ordering: %s, supplement: %s, filename: %s",registry,ordering,supplement,filename)