summaryrefslogtreecommitdiff
path: root/platform/winrt/gsview
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2014-08-07 10:35:36 -0700
committerMichael Vrhel <michael.vrhel@artifex.com>2014-09-09 16:39:39 -0700
commitec57957ef4c1cf8c9c8a38f566a6580776ae286c (patch)
tree438d3798dd3d28a1487a43592b0fd887ca8faee6 /platform/winrt/gsview
parentd41080402cc0aae67405c1b18b09e6be7ab7f9b0 (diff)
downloadmupdf-ec57957ef4c1cf8c9c8a38f566a6580776ae286c.tar.xz
Add -dNOCACHE option to XPS creation.
Diffstat (limited to 'platform/winrt/gsview')
-rw-r--r--platform/winrt/gsview/ghostsharp.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/winrt/gsview/ghostsharp.cs b/platform/winrt/gsview/ghostsharp.cs
index b5451645..168ce476 100644
--- a/platform/winrt/gsview/ghostsharp.cs
+++ b/platform/winrt/gsview/ghostsharp.cs
@@ -822,6 +822,7 @@ namespace gsview
}
/* Feeding gs piecemeal so that we can have some progress callback */
+ /* Used only for PS Distill */
private void gsWork2(object sender, DoWorkEventArgs e)
{
gsParams_t Params = (gsParams_t)e.Argument;
@@ -1058,7 +1059,7 @@ namespace gsview
gsparams.inputfile = fileName;
gsparams.task = GS_Task_t.CREATE_XPS;
gsparams.num_pages = num_pages;
- gsparams.options = "";
+ gsparams.options = "-dNOCACHE";
gsparams.need_multi_page = false;
gsparams.pages = null;
gsparams.firstpage = -1;