summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/driv-shp.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-05-12 19:57:39 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-05-12 19:57:39 +0200
commit5f6a7c6790baa7e524de5b5bf71a29ea757378f6 (patch)
treed26bcd9e722c4f2c1dfe8f375669d5c0b3fc4972 /tex/context/base/mkiv/driv-shp.lua
parentc49d2942bae7074f3bd4c04b6ee895cee1697ca3 (diff)
downloadcontext-5f6a7c6790baa7e524de5b5bf71a29ea757378f6.tar.gz
2019-05-12 19:16:00
Diffstat (limited to 'tex/context/base/mkiv/driv-shp.lua')
-rw-r--r--tex/context/base/mkiv/driv-shp.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/driv-shp.lua b/tex/context/base/mkiv/driv-shp.lua
index bc8073233..4dffa947e 100644
--- a/tex/context/base/mkiv/driv-shp.lua
+++ b/tex/context/base/mkiv/driv-shp.lua
@@ -234,6 +234,9 @@ local function flush_vf_packet(pos_h,pos_v,pos_r,font,char,data,factor,vfcommand
if fnt then
pos_h = pos_h + flushchar(font,char,fnt,chr,f,e)
end
+ else
+ -- safeguard, we assume the font itself (often index 1)
+ pos_h = pos_h + flushchar(font,char,font,chr,f,e)
end
end
elseif command == "right" then