diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2009-12-30 11:17:04 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2009-12-30 13:20:31 +0200 |
commit | 1005e9ef11f07210130b96c03811b0762b13e33c (patch) | |
tree | c5cbe010bf9e24dcb19e5a3179ff311a149cdfeb /otfl-font-cid.lua | |
parent | d4cccf105bb508150dc765c93bb47bf6f9a87f81 (diff) | |
download | luaotfload-1005e9ef11f07210130b96c03811b0762b13e33c.tar.gz |
Updating to latest ConTeXt beta (2009.12.29)
Diffstat (limited to 'otfl-font-cid.lua')
-rw-r--r-- | otfl-font-cid.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/otfl-font-cid.lua b/otfl-font-cid.lua index 57bfcd3..d1c727a 100644 --- a/otfl-font-cid.lua +++ b/otfl-font-cid.lua @@ -8,6 +8,7 @@ if not modules then modules = { } end modules ['font-cid'] = { local format, match, lower = string.format, string.match, string.lower local tonumber = tonumber +local lpegmatch = lpeg.match local trace_loading = false trackers.register("otf.loading", function(v) trace_loading = v end) @@ -61,7 +62,7 @@ function fonts.cid.load(filename) local data = io.loaddata(filename) if data then unicodes, names = { }, { } - grammar:match(data) + lpegmatch(grammar,data) local supplement, registry, ordering = match(filename,"^(.-)%-(.-)%-()%.(.-)$") return { supplement = supplement, |