Fixes #957, PDFs with extended characters aren't indexed
Now fixed for real. Required a function change on our end.
This commit is contained in:
parent
be2e5d680f
commit
ff93acd5f5
1 changed files with 12 additions and 2 deletions
|
@ -429,7 +429,12 @@ Zotero.Fulltext = new function(){
|
|||
|
||||
var args = [file.path, infoFile.path];
|
||||
try {
|
||||
proc.run(true, args, args.length);
|
||||
if (!Zotero.isFx36) {
|
||||
proc.runw(true, args, args.length);
|
||||
}
|
||||
else {
|
||||
proc.run(true, args, args.length);
|
||||
}
|
||||
var totalPages = this.getTotalPagesFromFile(itemID);
|
||||
}
|
||||
catch (e) {
|
||||
|
@ -460,7 +465,12 @@ Zotero.Fulltext = new function(){
|
|||
}
|
||||
args.push(file.path, cacheFile.path);
|
||||
try {
|
||||
proc.run(true, args, args.length);
|
||||
if (!Zotero.isFx36) {
|
||||
proc.runw(true, args, args.length);
|
||||
}
|
||||
else {
|
||||
proc.run(true, args, args.length);
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
Zotero.debug("Error running pdftotext");
|
||||
|
|
Loading…
Add table
Reference in a new issue