Skip to content

Commit

Permalink
fix hyphenation in PDFs
Browse files Browse the repository at this point in the history
  • Loading branch information
phiresky committed May 19, 2020
1 parent d0dcd97 commit 45dd334
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- Fix windows builds
- Case insensitive file extension matching
- Move to Github Actions instead of Travis
- Fix searching for words that are hyphenated in PDFs (#44)

# 0.9.5 (2020-04-08)

Expand Down
2 changes: 1 addition & 1 deletion src/adapters/poppler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl SpawningFileAdapter for PopplerAdapter {
"pdftotext"
}
fn command(&self, _filepath_hint: &Path, mut cmd: Command) -> Command {
cmd.arg("-layout").arg("-").arg("-");
cmd.arg("-").arg("-");
cmd
}
fn postproc(line_prefix: &str, inp: &mut dyn Read, oup: &mut dyn Write) -> Fallible<()> {
Expand Down

0 comments on commit 45dd334

Please sign in to comment.