From c5592c3f93143bd24312004459889c885aa1e86f Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Mon, 30 Nov 2009 21:25:16 +0200 Subject: Sync with ConTeXt (a small typo) --- otfl-font-cid.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3