summaryrefslogtreecommitdiff
path: root/support/lyluatex/lyluatex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'support/lyluatex/lyluatex.lua')
-rw-r--r--support/lyluatex/lyluatex.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/lyluatex/lyluatex.lua b/support/lyluatex/lyluatex.lua
index adb17a63a0..f947bde48a 100644
--- a/support/lyluatex/lyluatex.lua
+++ b/support/lyluatex/lyluatex.lua
@@ -1,8 +1,8 @@
-- luacheck: ignore ly log self luatexbase internalversion font fonts tex token kpse status ly_opts
local err, warn, info, log = luatexbase.provides_module({
name = "lyluatex",
- version = '1.1', --LYLUATEX_VERSION
- date = "2022/10/30", --LYLUATEX_DATE
+ version = '1.1.1', --LYLUATEX_VERSION
+ date = "2022/11/07", --LYLUATEX_DATE
description = "Module lyluatex.",
author = "The Gregorio Project − (see Contributors.md)",
copyright = "2015-2022 - jperon and others",
@@ -1347,7 +1347,7 @@ end
function ly.get_font_family(font_id)
- return lib.fontinfo(font_id).shared.rawdata.metadata['familyname']
+ return lib.fontinfo(font_id).fullname:match("[^-]*")
end