From d5a587139a50bf7e9ae3c96759a85cb039f3509c Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 7 Sep 2019 00:04:51 +0900 Subject: harftex macros 0.4.1 --- texmf-dist/tex/harftex/base/harf-node.lua | 2 +- texmf-dist/tex/harftex/base/harfload.sty | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'texmf-dist/tex') diff --git a/texmf-dist/tex/harftex/base/harf-node.lua b/texmf-dist/tex/harftex/base/harf-node.lua index 24f66990..730a8735 100644 --- a/texmf-dist/tex/harftex/base/harf-node.lua +++ b/texmf-dist/tex/harftex/base/harf-node.lua @@ -738,7 +738,7 @@ local function tonodes(head, current, run, glyphs, color) -- May be it is checking for the italic correction before we have had -- loaded the glyph? local prevchar, prevfontid = isglyph(current) - if prevchar > 0 then + if prevchar and prevchar > 0 then local prevfontdata = font.getfont(prevfontid) local prevcharacters = prevfontdata and prevfontdata.characters local italic = prevcharacters and prevcharacters[prevchar].italic diff --git a/texmf-dist/tex/harftex/base/harfload.sty b/texmf-dist/tex/harftex/base/harfload.sty index 23674b8c..0164983a 100644 --- a/texmf-dist/tex/harftex/base/harfload.sty +++ b/texmf-dist/tex/harftex/base/harfload.sty @@ -2,7 +2,7 @@ \let\ifharfloadloaded\endinput \ifdefined\ProvidesPackage \RequirePackage{luaotfload} - \ProvidesPackage{harfload}[2019/08/10 v0.4.0 Unicode text layout system] + \ProvidesPackage{harfload}[2019/08/25 v0.4.1 Unicode text layout system] \else \input luaotfload.sty \fi -- cgit v1.2.3