diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-09-10 21:16:35 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-09-10 21:16:35 +0200 |
commit | 58c7c9288160407c874930aac789ef6ef3faa6b5 (patch) | |
tree | 9cc1d4be11cd66b4e4f77209bac07d41c8d949ee /tex/context/base/mkiv/mlib-pdf.lua | |
parent | 438b065a2337ee587442f25ddc587c4762f4d0b0 (diff) | |
download | context-58c7c9288160407c874930aac789ef6ef3faa6b5.tar.gz |
2019-09-10 20:11:00
Diffstat (limited to 'tex/context/base/mkiv/mlib-pdf.lua')
-rw-r--r-- | tex/context/base/mkiv/mlib-pdf.lua | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/mlib-pdf.lua b/tex/context/base/mkiv/mlib-pdf.lua index 65f3b2016..524e930a9 100644 --- a/tex/context/base/mkiv/mlib-pdf.lua +++ b/tex/context/base/mkiv/mlib-pdf.lua @@ -460,12 +460,15 @@ local linewidth = false local evenodd = false local collect = false local both = false + local flush = false local postscript = object.postscript if not object.istext then if postscript == "evenodd" then evenodd = true elseif postscript == "collect" then collect = true + elseif postscript == "flush" then + flush = true elseif postscript == "both" then both = true elseif postscript == "eoboth" then @@ -474,7 +477,9 @@ local linewidth = false end end -- - if collect then + if flush and not savedpath then + -- forget about it + elseif collect then if not savedpath then savedpath = { object.path or false } savedhtap = { object.htap or false } @@ -554,7 +559,9 @@ end end savedpath = nil end - if transformed then + if flush then + -- ignore this path + elseif transformed then flushconcatpath(path,result,open) else flushnormalpath(path,result,open) |