diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2016-04-11 21:33:01 +0200 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2016-04-11 21:33:05 +0200 |
commit | 9f36b1ac422e48e70e11716f5550a833bc8be3f9 (patch) | |
tree | 82b202532ee5284c5bc7014811736b7ad30fdb0b /src/fontloader/misc/fontloader-font-gbn.lua | |
parent | 783e94f44ea39df0ae877b289b999e8f13aaf3da (diff) | |
download | luaotfload-9f36b1ac422e48e70e11716f5550a833bc8be3f9.tar.gz |
[fontloader] sync with Context as of 2016-04-11
After some discussion, Hans came up with these extensions to the new
reader. We get access to more items from the hideous “name” table. On
the one hand, this means more brokenness to endure and a less sane
matter to work with. But since our tracker was devoid of font-matching
related bug reports for some time, it’s the right move nonetheless.
In addition to the name table junk, the font loader now also includes
the “version” field in the output of “getinfo()”. It’s meaningless per
se, but it sure helps to distinguish historical bugs from the ones that
matter.
**UNTESTED**
Diffstat (limited to 'src/fontloader/misc/fontloader-font-gbn.lua')
-rw-r--r-- | src/fontloader/misc/fontloader-font-gbn.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/fontloader/misc/fontloader-font-gbn.lua b/src/fontloader/misc/fontloader-font-gbn.lua index f81c877..a645a97 100644 --- a/src/fontloader/misc/fontloader-font-gbn.lua +++ b/src/fontloader/misc/fontloader-font-gbn.lua @@ -19,7 +19,6 @@ local nodes = nodes local nuts = nodes.nuts -- context abstraction of direct nodes local traverse_id = nuts.traverse_id -local free_node = nuts.free local remove_node = nuts.remove local glyph_code = nodes.nodecodes.glyph @@ -137,9 +136,7 @@ function nodes.handlers.nodepass(head) end if redundant then for i=1,#redundant do - local n = redundant[i] - remove_node(nuthead,n) - free_node(n) + remove_node(nuthead,redundant[i],true) end end for d in traverse_id(disc_code,nuthead) do |