[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Small fixes around subfonts (1611e85)

Marcel Fabian Krüger tex at 2krueger.de
Thu Aug 5 14:30:38 CEST 2021


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

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

commit 1611e85c2917fc5d22c72fc047e07b9edf1d5ad9
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Thu Aug 5 14:30:38 2021 +0200

    Small fixes around subfonts


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

1611e85c2917fc5d22c72fc047e07b9edf1d5ad9
 src/luaotfload-database.lua | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/luaotfload-database.lua b/src/luaotfload-database.lua
index 11a05bf..3d4b066 100644
--- a/src/luaotfload-database.lua
+++ b/src/luaotfload-database.lua
@@ -1646,7 +1646,7 @@ local function split_fontname (fontname)
     end
 end
 
-local function organize_styledata (metadata, rawinfo, info)
+local function organize_styledata (metadata, rawinfo)
     local pfminfo   = metadata.pfminfo
     local names     = rawinfo.names
     return {
@@ -1690,8 +1690,7 @@ local function ot_fullinfo (filename,
                                              basename,
                                              info)
     local style         = organize_styledata (metadata,
-                                              rawinfo,
-                                              info)
+                                              rawinfo)
     local res = {
         file            = { base        = basename,
                             full        = filename,
@@ -1933,7 +1932,7 @@ local function read_font_names (fullname,
             if insert_fullinfo (fullname, basename, n_font,
                                 loader, format, location,
                                 targetmappings, targetentrystatus,
-                                info)
+                                info[n_font])
             then
                 success = true
             end





More information about the latex3-commits mailing list.