diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-05-21 06:46:45 +0300 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-05-21 07:07:28 +0300 |
commit | 3cbef76101d9aaef3b2c355c58675bf9f386d949 (patch) | |
tree | e11465e3a2ae642973a74ec1a5202d5cf815b176 /otfl-font-map.lua | |
parent | 7714c6972814b0ff3175479b09d0139dd67c6ab0 (diff) | |
download | luaotfload-3cbef76101d9aaef3b2c355c58675bf9f386d949.tar.gz |
Sync with ConTeXt beta (beta 2010.05.20)
Diffstat (limited to 'otfl-font-map.lua')
-rw-r--r-- | otfl-font-map.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/otfl-font-map.lua b/otfl-font-map.lua index 208ad50..2995087 100644 --- a/otfl-font-map.lua +++ b/otfl-font-map.lua @@ -252,7 +252,7 @@ fonts.map.add_to_unicode = function(data,filename) end end if trace_unimapping then - for index, glyph in table.sortedpairs(data.glyphs) do + for index, glyph in table.sortedhash(data.glyphs) do local toun, name, unic = tounicode[index], glyph.name, glyph.unicode or -1 -- play safe if toun then logs.report("load otf","internal: 0x%05X, name: %s, unicode: 0x%05X, tounicode: %s",index,name,unic,toun) @@ -302,7 +302,7 @@ end -- -- function fonts.map.flush(backend) -- will also erase the accumulated data -- local flushline = fonts.map.line[backend or "pdftex"] or fonts.map.line.pdftex --- for _, e in pairs(fonts.map.data) do +-- for _, e in next, fonts.map.data do -- flushline(e) -- end -- fonts.map.data = { } |