[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: void confuding message if harf loading fails early (63d0307)

Marcel Fabian Krüger tex at 2krueger.de
Mon Dec 16 19:19:54 CET 2019


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/63d03079bbd40004e691b22598c779cbcb858b74

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

commit 63d03079bbd40004e691b22598c779cbcb858b74
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Mon Dec 16 19:19:54 2019 +0100

    void confuding message if harf loading fails early


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

63d03079bbd40004e691b22598c779cbcb858b74
 src/luaotfload-harf-define.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/luaotfload-harf-define.lua b/src/luaotfload-harf-define.lua
index 3584820..8061938 100644
--- a/src/luaotfload-harf-define.lua
+++ b/src/luaotfload-harf-define.lua
@@ -217,6 +217,7 @@ local tlig ={
 }
 
 local function scalefont(data, spec)
+  if not data then return data, spec end
   local size = spec.size
   local features = spec.features.normal
   features.mode = 'plug'





More information about the latex3-commits mailing list