Fix "Retrieve Metadata for PDF" with bundled PDF tools

This commit is contained in:
Dan Stillman 2018-01-31 05:34:22 -05:00
parent 2d43518ef2
commit 31f0f0d210

View file

@ -143,7 +143,7 @@ var Zotero_RecognizePDF = new function() {
}
var {exec, args} = Zotero.Fulltext.getPDFConverterExecAndArgs();
args.push('-enc', 'UTF-8', '-nopgbrk', '-layout', '-l', pages, file.path, cacheFile.path);
args.push('-nopgbrk', '-layout', '-l', pages, file.path, cacheFile.path);
Zotero.debug("RecognizePDF: Running " + exec.path + " " + args.map(arg => "'" + arg + "'").join(" "));