diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-05-13 00:46:22 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-05-13 00:46:22 +0200 |
commit | aceba29d651766f5621b9812d4c40e28029bc4ea (patch) | |
tree | c758ab7390365921595c52d4c99f80fb75636c79 /tex/context/base/mkiv/font-col.lua | |
parent | fdc4bdf67540ac0b5194641a552903faf9aef3a9 (diff) | |
download | context-aceba29d651766f5621b9812d4c40e28029bc4ea.tar.gz |
2017-05-12 22:46:00
Diffstat (limited to 'tex/context/base/mkiv/font-col.lua')
-rw-r--r-- | tex/context/base/mkiv/font-col.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/font-col.lua b/tex/context/base/mkiv/font-col.lua index 3698960b8..bce16fae7 100644 --- a/tex/context/base/mkiv/font-col.lua +++ b/tex/context/base/mkiv/font-col.lua @@ -104,7 +104,7 @@ function collections.define(name,font,ranges,details) details = settings_to_hash(details) -- todo, combine per font start/stop as arrays for s in gmatch(ranges,"[^, ]+") do - local start, stop, description, gaps = characters.getrange(s) + local start, stop, description, gaps = characters.getrange(s,true) if start and stop then if trace_collecting then if description then @@ -119,7 +119,7 @@ function collections.define(name,font,ranges,details) end local offset = details.offset if type(offset) == "string" then - local start = characters.getrange(offset) + local start = characters.getrange(offset,true) offset = start or false else offset = tonumber(offset) or false |