summaryrefslogtreecommitdiff
path: root/platform/win32/generate.bat
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-04-13 17:02:43 +0100
committerRobin Watts <robin.watts@artifex.com>2016-04-18 10:51:22 +0100
commit335798189cbd40cd518ce49d1fa4c7eaa2811977 (patch)
tree6436a89506c79174882cc08f0766f328315c1c94 /platform/win32/generate.bat
parentbf73ce40b26317cc067239c0e183ea4257a25c2f (diff)
downloadmupdf-335798189cbd40cd518ce49d1fa4c7eaa2811977.tar.xz
Fix broken documents after sanitize
The DP and BDC operators, are used in the form: <NAME> <PROPERTIES> <OPERATOR> where <PROPERTIES> can either be a name (that can be looked up to get a dictionary) or an inline dictionary. What the spec doesn't say is that the two are not interchangeable. If you resolve the name to an inline dict, then insert it, Acrobat will give an error for some (but not all) cases. The interpreter currently resolves any references, and passes the resolved version into the operator handling function. This precludes us outputting the original form. We therefore update it to pass both the raw and the cooked versions in. This has no effect on MuPDFs own handling of anything, it just enables the buffer device to output a correct stream.
Diffstat (limited to 'platform/win32/generate.bat')
0 files changed, 0 insertions, 0 deletions