diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-05-09 18:19:57 +0300 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-05-09 18:20:13 +0300 |
commit | 2d1908ff97890f3a0e7cae39dd99e7b97ff2d443 (patch) | |
tree | a9b1bfdb02f75b1af09fb3c057465e90f0b64ecc /otfl-font-xtx.lua | |
parent | f80559dee34d3e2c01f5793541e1c6fb4b6b641b (diff) | |
download | luaotfload-2d1908ff97890f3a0e7cae39dd99e7b97ff2d443.tar.gz |
Updating to latest ConTeXt stable (2010.05.08)
Diffstat (limited to 'otfl-font-xtx.lua')
-rw-r--r-- | otfl-font-xtx.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/otfl-font-xtx.lua b/otfl-font-xtx.lua index fd0a474..0fa2d69 100644 --- a/otfl-font-xtx.lua +++ b/otfl-font-xtx.lua @@ -189,6 +189,8 @@ local option = spaces * (keyvalue + falsevalue + truevalue + somevalue) * sp local options = lpeg.P(":") * spaces * (lpeg.P(";")^0 * option)^0 local pattern = (filename + fontname) * subvalue^0 * crapspec^0 * options^0 +local normalize_meanings = fonts.otf.meanings.normalize + function fonts.define.specify.colonized(specification) -- xetex mode list = { } lpegmatch(pattern,specification.specification) @@ -212,7 +214,8 @@ function fonts.define.specify.colonized(specification) -- xetex mode specification.sub = list.sub list.sub = nil end - specification.features.normal = list +-- specification.features.normal = list + specification.features.normal = normalize_meanings(list) return specification end |