[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Remove some dead code (3cc5d16)

Marcel Fabian Krüger tex at 2krueger.de
Thu May 26 16:04:43 CEST 2022


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/3cc5d1667044e31f7095835ef59075e74368ea79

>---------------------------------------------------------------

commit 3cc5d1667044e31f7095835ef59075e74368ea79
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Tue May 24 04:06:21 2022 +0200

    Remove some dead code


>---------------------------------------------------------------

3cc5d1667044e31f7095835ef59075e74368ea79
 src/luaotfload-features.lua | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/src/luaotfload-features.lua b/src/luaotfload-features.lua
index cb34b7d..4e47d2a 100644
--- a/src/luaotfload-features.lua
+++ b/src/luaotfload-features.lua
@@ -30,8 +30,6 @@ local table             = table
 local tabletohash       = table.tohash
 local tablesort         = table.sort
 
-local stringunpack      = string.unpack
-
 --- this appears to be based in part on luatex-fonts-def.lua
 
 local fonts             = fonts
@@ -56,15 +54,6 @@ else
     normalize = otf.features.normalize
 end
 
---[[HH (font-xtx) --
-    tricky: we sort of bypass the parser and directly feed all into
-    the sub parser
---HH]]--
-
-function definers.getspecification(str)
-    return "", str, "", ":", str
-end
-
 local log              = luaotfload.log
 local report           = log.report
 
@@ -470,7 +459,7 @@ if as_script == true then --- skip the remainder of the file
 end
 
 do
-    local helpers = fonts.handlers.otf.readers.helpers
+    local helpers = otf.readers.helpers
     local axistofactors = helpers.axistofactors
     local cleanname = helpers.cleanname
     local getaxisscale = helpers.getaxisscale





More information about the latex3-commits mailing list.