[latex3-commits] [git/LaTeX3-latex3-luaotfload] fontloader: fontloader patch for COLR and pdf_restore (79077b0)

Marcel Fabian Krüger tex at 2krueger.de
Wed May 6 20:58:39 CEST 2020


Repository : https://github.com/latex3/luaotfload
On branch  : fontloader
Link       : https://github.com/latex3/luaotfload/commit/79077b0311ec65e8eb3c60bfc306500d72fd270e

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

commit 79077b0311ec65e8eb3c60bfc306500d72fd270e
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Wed May 6 20:58:39 2020 +0200

    fontloader patch for COLR and pdf_restore
    
    Manually backported


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

79077b0311ec65e8eb3c60bfc306500d72fd270e
 src/auto/fontloader-2020-04-30.lua              | 3 ++-
 src/fontloader/misc/fontloader-font-ocl.lua     | 3 ++-
 src/fontloader/runtime/fontloader-reference.lua | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/auto/fontloader-2020-04-30.lua b/src/auto/fontloader-2020-04-30.lua
index 721d246..418ca72 100644
--- a/src/auto/fontloader-2020-04-30.lua
+++ b/src/auto/fontloader-2020-04-30.lua
@@ -27853,10 +27853,11 @@ local function initializeoverlay(tfmdata,kind,value)
       local s=#colorlist
       local goback=w~=0 and leftcommand[w] or nil 
       local t={
+       start,
        not u and actualb or { "pdf","page",(getactualtext(tounicode(u))) },
        push,
       }
-      local n=2
+      local n=3
       local l=nil
       for i=1,s do
        local entry=colorlist[i]
diff --git a/src/fontloader/misc/fontloader-font-ocl.lua b/src/fontloader/misc/fontloader-font-ocl.lua
index 1890e5e..f8b6577 100644
--- a/src/fontloader/misc/fontloader-font-ocl.lua
+++ b/src/fontloader/misc/fontloader-font-ocl.lua
@@ -278,10 +278,11 @@ local function initializeoverlay(tfmdata,kind,value)
                         local s = #colorlist
                         local goback = w ~= 0 and leftcommand[w] or nil -- needs checking: are widths the same
                         local t = {
+                            start,
                             not u and actualb or { "pdf", "page", (getactualtext(tounicode(u))) },
                             push,
                         }
-                        local n = 2
+                        local n = 3
                         local l = nil
                         for i=1,s do
                             local entry = colorlist[i]
diff --git a/src/fontloader/runtime/fontloader-reference.lua b/src/fontloader/runtime/fontloader-reference.lua
index 32f25b9..51fcfbe 100644
--- a/src/fontloader/runtime/fontloader-reference.lua
+++ b/src/fontloader/runtime/fontloader-reference.lua
@@ -32531,10 +32531,11 @@ local function initializeoverlay(tfmdata,kind,value)
       local s=#colorlist
       local goback=w~=0 and leftcommand[w] or nil 
       local t={
+       start,
        not u and actualb or { "pdf","page",(getactualtext(tounicode(u))) },
        push,
       }
-      local n=2
+      local n=3
       local l=nil
       for i=1,s do
        local entry=colorlist[i]





More information about the latex3-commits mailing list.