[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Fix handling of unknown HarfBuzz buffer flags (e27c8af)

Marcel Fabian Krüger tex at 2krueger.de
Sun May 1 15:55:55 CEST 2022


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

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

commit e27c8afe913aedff9898acb1a266d9d09406d61d
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sun May 1 15:55:55 2022 +0200

    Fix handling of unknown HarfBuzz buffer flags


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

e27c8afe913aedff9898acb1a266d9d09406d61d
 src/luaotfload-harf-plug.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/luaotfload-harf-plug.lua b/src/luaotfload-harf-plug.lua
index 9a8f557..ca0de24 100644
--- a/src/luaotfload-harf-plug.lua
+++ b/src/luaotfload-harf-plug.lua
@@ -293,7 +293,7 @@ end
 local function unsafetobreak(glyph)
   return glyph
      and glyph.flags
-     and glyph.flags & fl_unsafe
+     and glyph.flags & fl_unsafe ~= 0
 end
 
 local shape





More information about the latex3-commits mailing list.