diff options
| author | Philipp Gesang <phg@phi-gamma.net> | 2016-01-22 00:51:55 +0100 | 
|---|---|---|
| committer | Philipp Gesang <phg@phi-gamma.net> | 2016-01-22 00:51:55 +0100 | 
| commit | 7b982d37f58b36e8d8dd2580893e89430c576ca9 (patch) | |
| tree | f3f5944bace136a2c878c82fd2bc882fc9a5ce42 /src/fontloader/misc/fontloader-font-otf.lua | |
| parent | 07cc29d8658360e9e6ddecf7f251e518b9ea99c9 (diff) | |
| parent | 55799dad5b8a2716aea1cfee28b4ce093e587f8a (diff) | |
| download | luaotfload-7b982d37f58b36e8d8dd2580893e89430c576ca9.tar.gz | |
Merge pull request #320 from phi-gamma/master
fixes
Diffstat (limited to 'src/fontloader/misc/fontloader-font-otf.lua')
| -rw-r--r-- | src/fontloader/misc/fontloader-font-otf.lua | 17 | 
1 files changed, 7 insertions, 10 deletions
diff --git a/src/fontloader/misc/fontloader-font-otf.lua b/src/fontloader/misc/fontloader-font-otf.lua index 0471c17..e90ec73 100644 --- a/src/fontloader/misc/fontloader-font-otf.lua +++ b/src/fontloader/misc/fontloader-font-otf.lua @@ -287,7 +287,6 @@ local ordered_enhancers = {      "check glyphs",      "check metadata", ---     "check extra features", -- after metadata      "prepare tounicode", @@ -296,7 +295,6 @@ local ordered_enhancers = {      "expand lookups", -- a temp hack awaiting the lua loader ---[[phg-- PATCH: Next line restores font features --phg]]--      "check extra features", -- after metadata and duplicates      "cleanup tables", @@ -601,9 +599,6 @@ function otf.load(filename,sub,featurefile) -- second argument (format) is gone              applyruntimefixes(filename,data)          end          enhance("add dimensions",data,filename,nil,false) ---[[phg-- This was hand-patched to restore the fontloader -enhance("check extra features",data,filename) ---phg]]--          if trace_sequences then              showfeatureorder(data,filename)          end @@ -2955,11 +2950,13 @@ end  otf.coverup = {      stepkey = "subtables",      actions = { -        substitution = justset, -        alternate    = justset, -        multiple     = justset, -        ligature     = justset, -        kern         = justset, +        substitution      = justset, +        alternate         = justset, +        multiple          = justset, +        ligature          = justset, +        kern              = justset, +        chainsubstitution = justset, +        chainposition     = justset,      },      register = function(coverage,lookuptype,format,feature,n,descriptions,resources)          local name = formatters["ctx_%s_%s_%s"](feature,lookuptype,n) -- we can have a mix of types  | 
