[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Revert "Add ActualText markers for copied nodes again" (613e360)

Marcel Fabian Krüger tex at 2krueger.de
Sat Oct 10 01:06:36 CEST 2020


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/613e3603ffb83fb2c079107cb03414b05c0806b2

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

commit 613e3603ffb83fb2c079107cb03414b05c0806b2
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sat Oct 10 01:06:36 2020 +0200

    Revert "Add ActualText markers for copied nodes again"
    
    This reverts commit 3839dff07114d7c5e745ad9d964643250a36bc24.
    
    Sometimes I should just trust me more. We are copying too many nodes
    in the surrounding code to make this usable.


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

613e3603ffb83fb2c079107cb03414b05c0806b2
 src/luaotfload-harf-plug.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/luaotfload-harf-plug.lua b/src/luaotfload-harf-plug.lua
index 88c4fa0..035976f 100644
--- a/src/luaotfload-harf-plug.lua
+++ b/src/luaotfload-harf-plug.lua
@@ -943,8 +943,8 @@ local function post_process(head)
 
     local startactual, endactual
     if props then
-      startactual = props[startactual_p]
-      endactual = props[endactual_p]
+      startactual = rawget(props, startactual_p)
+      endactual = rawget(props, endactual_p)
     end
 
     if startactual then





More information about the latex3-commits mailing list.