summaryrefslogtreecommitdiff
path: root/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'texmf-dist/tex')
-rw-r--r--texmf-dist/tex/harftex/base/harf-node.lua2
-rw-r--r--texmf-dist/tex/harftex/base/harfload.sty2
2 files changed, 2 insertions, 2 deletions
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