diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2016-06-11 12:02:12 +0200 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2016-06-11 12:05:16 +0200 |
commit | 3bbb743eb16f83c118776a7689b4826911c41bb1 (patch) | |
tree | 492b32659bf3346a15d9dcbb7c0c2c68f04e0a14 /src/luaotfload-features.lua | |
parent | e391f0e473b9a2987bd27841f96f91f3379b767d (diff) | |
download | luaotfload-3bbb743eb16f83c118776a7689b4826911c41bb1.tar.gz |
[features] fix missing local
The new addfeature() as of 499160de78a1 accesses utf8.len() which wasn’t
imported at this point. Another import, utf8.char(), became irrelevant.
Spotted by @doyunkim
Diffstat (limited to 'src/luaotfload-features.lua')
-rw-r--r-- | src/luaotfload-features.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/luaotfload-features.lua b/src/luaotfload-features.lua index ae4ac77..b6e889e 100644 --- a/src/luaotfload-features.lua +++ b/src/luaotfload-features.lua @@ -1296,8 +1296,9 @@ local report_otf = logs.reporter("fonts","otf loading") --- start locals for addfeature() -local utfbyte = unicode.utf8.byte -local utfchar = unicode.utf8.char +local utf8 = unicode.utf8 +local utfbyte = utf8.byte +local utflen = utf8.len local otf = handlers and handlers.otf --- filled in later during initialization |