summaryrefslogtreecommitdiff
path: root/texmf-dist/tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-07 00:04:51 +0900
committerNorbert Preining <norbert@preining.info>2019-09-07 00:04:51 +0900
commitd5a587139a50bf7e9ae3c96759a85cb039f3509c (patch)
tree9ead93dfba56e2f57f05f9473d23385dbb066115 /texmf-dist/tex
parent86f5269fcc66b2c40900bd11f793534bc18da6f6 (diff)
harftex macros 0.4.1
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