diff options
Diffstat (limited to 'texmf-dist/tex/harftex/base/harf-node.lua')
-rw-r--r-- | texmf-dist/tex/harftex/base/harf-node.lua | 2 |
1 files changed, 1 insertions, 1 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 |