diff options
| author | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-24 19:21:15 +0200 | 
|---|---|---|
| committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-24 19:21:15 +0200 | 
| commit | 235b68364730dfc19927d8618fab3d0ff5e56ab3 (patch) | |
| tree | 24ff40ce6c9d1820c09106ac4f74fb5689904e8d | |
| parent | 24a3ecb19d3ca204ac4432e8f2f0b2bf53954b05 (diff) | |
| download | luaotfload-235b68364730dfc19927d8618fab3d0ff5e56ab3.tar.gz | |
import from Context as of `date`
| -rw-r--r-- | luaotfload-merged.lua | 14 | 
1 files changed, 11 insertions, 3 deletions
| diff --git a/luaotfload-merged.lua b/luaotfload-merged.lua index 2827137..da5e35a 100644 --- a/luaotfload-merged.lua +++ b/luaotfload-merged.lua @@ -1,6 +1,6 @@  -- merged file : luatex-fonts-merged.lua  -- parent file : luatex-fonts.lua --- merge date  : 04/23/13 12:46:30 +-- merge date  : 04/24/13 13:39:43  do -- begin closure to overcome local limits and interference @@ -6098,6 +6098,14 @@ actions["reorganize lookups"]=function(data,filename,raw)                local current=coverage.current                if current then                  current=t_uncover(splitter,t_u_cache,current) +                local lookups=rule.lookups +                if lookups then +                  for i=1,#current do +                    if not lookups[i] then +                      lookups[i]=""  +                    end +                  end +                end                  rule.current=t_hashed(current,t_h_cache)                end                local after=coverage.after @@ -10642,8 +10650,8 @@ local function packdata(data)                local r=rule.before    if r then for i=1,#r do r[i]=pack_boolean(r[i]) end end                local r=rule.after    if r then for i=1,#r do r[i]=pack_boolean(r[i]) end end                local r=rule.current   if r then for i=1,#r do r[i]=pack_boolean(r[i]) end end -              local r=rule.replacements if r then rule.replacements=pack_flat  (r)  end -              local r=rule.lookups   if r then rule.lookups=pack_indexed(r)  end  +              local r=rule.replacements if r then rule.replacements=pack_flat  (r)  end  +              local r=rule.lookups   if r then rule.lookups=pack_indexed(r)  end              end            end          end | 
