[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: glyphlist can be loaded later (ff5d691)

Marcel Fabian Krüger tex at 2krueger.de
Sat Sep 5 22:47:49 CEST 2020


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

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

commit ff5d69101b208e56115c7254f8631f7216b2069c
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sat Sep 5 22:47:49 2020 +0200

    glyphlist can be loaded later


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

ff5d69101b208e56115c7254f8631f7216b2069c
 src/auto/luaotfload-glyphlist.lua | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/auto/luaotfload-glyphlist.lua b/src/auto/luaotfload-glyphlist.lua
index 41949db..2f7540d 100644
--- a/src/auto/luaotfload-glyphlist.lua
+++ b/src/auto/luaotfload-glyphlist.lua
@@ -1,4 +1,5 @@
-assert(luaotfload_module, "This is a part of luaotfload and should not be loaded independently") { 
+if luaotfload_module then
+  luaotfload_module {
     name          = "luaotfload-glyphlist",
     version       = "3.16-dev",       --TAGVERSION
     date          = "2020-09-03", --TAGDATE
@@ -6,7 +7,8 @@ assert(luaotfload_module, "This is a part of luaotfload and should not be loaded
     copyright   = "derived from https://raw.githubusercontent.com/adobe-type-tools/agl-aglfn/master/glyphlist.txt",
     original    = "Adobe Glyph List, version 2.0, September 20, 2002",
     dataonly    = true
-}
+  }
+end
 
 if context then
   logs.report("fatal error","this module is not for context")





More information about the latex3-commits mailing list.