diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2013-04-30 13:21:50 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2013-04-30 13:21:50 +0000 |
commit | ef447158f844e9d9c2fb4e328cce5225e1f08fb9 (patch) | |
tree | 078ee5a14f27c241adecc0563617080fb5a6d562 /Build/source/texk/xdvipdfmx/src/dvipdfmx.c | |
parent | d9138f40c346b88147148d28cf7e479013a51246 (diff) |
Add a compatible mode with the old behavior per Karl, where image cache is ignored (default).
git-svn-id: svn://tug.org/texlive/trunk@30184 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvipdfmx/src/dvipdfmx.c')
-rw-r--r-- | Build/source/texk/xdvipdfmx/src/dvipdfmx.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/texk/xdvipdfmx/src/dvipdfmx.c b/Build/source/texk/xdvipdfmx/src/dvipdfmx.c index ac82c2cdf56..ac97ed11198 100644 --- a/Build/source/texk/xdvipdfmx/src/dvipdfmx.c +++ b/Build/source/texk/xdvipdfmx/src/dvipdfmx.c @@ -91,7 +91,8 @@ static int pdfdecimaldigits = 2; /* Image cache life in hours */ /* 0 means erase all old images and leave new images */ /* -1 means erase all old images and also erase new images */ -static int image_cache_life = -1; +/* -2 means ignore image cache (default) */ +static int image_cache_life = -2; /* Encryption */ static int do_encryption = 0; @@ -190,9 +191,10 @@ usage (int exit_code) fprintf (stdout, "\t\tAnd negative values replace old values.\n"); fprintf (stdout, "-D template\tPS->PDF conversion command line template [none]\n"); fprintf (stdout, "-E \t\tAlways try to embed fonts, regardless of licensing flags.\n"); - fprintf (stdout, "-I number\tImage cache life in hours [-1]\n"); + fprintf (stdout, "-I number\tImage cache life in hours [-2]\n"); fprintf (stdout, " \t 0: erase all old images and leave new images\n"); fprintf (stdout, " \t-1: erase all old images and also erase new images\n"); + fprintf (stdout, " \t-2: ignore image cache\n"); fprintf (stdout, "-K number\tEncryption key length [40]\n"); fprintf (stdout, "-O number\tSet maximum depth of open bookmark items [0]\n"); fprintf (stdout, "-P number\tSet permission flags for PDF encryption [0x003C]\n"); |