Browse Source

fix #747 add pdfbox.fontcache

Shinsuke Sugaya 8 years ago
parent
commit
bc0caef065
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/java/org/codelibs/fess/job/CrawlJob.java

+ 1 - 0
src/main/java/org/codelibs/fess/job/CrawlJob.java

@@ -325,6 +325,7 @@ public class CrawlJob {
             ownTmpDir = new File(tmpDir, "fessTmpDir_" + sessionId);
             ownTmpDir = new File(tmpDir, "fessTmpDir_" + sessionId);
             if (ownTmpDir.mkdirs()) {
             if (ownTmpDir.mkdirs()) {
                 cmdList.add("-Djava.io.tmpdir=" + ownTmpDir.getAbsolutePath());
                 cmdList.add("-Djava.io.tmpdir=" + ownTmpDir.getAbsolutePath());
+                cmdList.add("-Dpdfbox.fontcache=" + ownTmpDir.getAbsolutePath());
             } else {
             } else {
                 ownTmpDir = null;
                 ownTmpDir = null;
             }
             }