[latex3-commits] [git/LaTeX3-latex3-luaotfload] variable-cff2: Use luaotfload's name for harfbuzz library (4313039)
Marcel Fabian Krüger
tex at 2krueger.de
Sun Aug 8 22:53:40 CEST 2021
Repository : https://github.com/latex3/luaotfload
On branch : variable-cff2
Link : https://github.com/latex3/luaotfload/commit/4313039462840f9f14b3b45ebd0897e7693b65ad
>---------------------------------------------------------------
commit 4313039462840f9f14b3b45ebd0897e7693b65ad
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Sun Aug 8 18:45:50 2021 +0200
Use luaotfload's name for harfbuzz library
>---------------------------------------------------------------
4313039462840f9f14b3b45ebd0897e7693b65ad
src/luaotfload-harf-var-cff2.lua | 2 +-
src/luaotfload-harf-var-ttf.lua | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/luaotfload-harf-var-cff2.lua b/src/luaotfload-harf-var-cff2.lua
index 72b7772..cee9663 100644
--- a/src/luaotfload-harf-var-cff2.lua
+++ b/src/luaotfload-harf-var-cff2.lua
@@ -14,7 +14,7 @@ do
}
end
-local hb = require'luaharfbuzz'
+local hb = assert(luaotfload.harfbuzz)
local cff2 = hb.Tag.new'CFF2'
local serialize = require'luaotfload-harf-var-t2-writer'
diff --git a/src/luaotfload-harf-var-ttf.lua b/src/luaotfload-harf-var-ttf.lua
index 4e58d33..6ef314c 100644
--- a/src/luaotfload-harf-var-ttf.lua
+++ b/src/luaotfload-harf-var-ttf.lua
@@ -14,7 +14,7 @@ do
}
end
-local hb = require'luaharfbuzz'
+local hb = assert(luaotfload.harfbuzz)
local gvar_tag = hb.Tag.new'gvar'
local glyf_tag = hb.Tag.new'glyf'
local loca_tag = hb.Tag.new'loca'
More information about the latex3-commits
mailing list.