[latex3-commits] [git/LaTeX3-latex3-luaotfload] variable-cff2: Use luaotfload's name har harfbuzz library (596a745)

Marcel Fabian Krüger tex at 2krueger.de
Sun Aug 8 18:45:50 CEST 2021


Repository : https://github.com/latex3/luaotfload
On branch  : variable-cff2
Link       : https://github.com/latex3/luaotfload/commit/596a74596d7b011ea7013e6546b643fcc5279d48

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

commit 596a74596d7b011ea7013e6546b643fcc5279d48
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sun Aug 8 18:45:50 2021 +0200

    Use luaotfload's name har harfbuzz library


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

596a74596d7b011ea7013e6546b643fcc5279d48
 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.