diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-05-12 19:57:39 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-05-12 19:57:39 +0200 |
commit | 5f6a7c6790baa7e524de5b5bf71a29ea757378f6 (patch) | |
tree | d26bcd9e722c4f2c1dfe8f375669d5c0b3fc4972 /tex/context/base/mkiv/driv-shp.lua | |
parent | c49d2942bae7074f3bd4c04b6ee895cee1697ca3 (diff) | |
download | context-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.lua | 3 |
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 |