forked from py-pdf/pypdf
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Improve spacing for text extraction (py-pdf#806)
PyPDF2 now takes positive / negative spaces between text blocks into account. Not very elegant, but the result looks way better than before.
- Loading branch information
1 parent
cd1d99c
commit 60182c8
Showing
5 changed files
with
40 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
The Cr azy Ones | ||
Octob er 14, 1998 | ||
Heres to the crazy ones. The mis˝ts. The reb els. The troublemak ers. | ||
The round p egs in the square holes. | ||
The ones who see things di˙eren tly . Theyre not fond of rules. And | ||
they ha v e no resp ect for the status quo. Y ou can quote them, | ||
disagree with them, glorify or vilify them. | ||
Ab out the only thing y ou cant do is ignore them. Because they c hange | ||
things. They in v en t. They imagine. They heal. They explore. They | ||
create. They inspire. They push the h uman race forw ard. | ||
Ma yb e they ha v e to b e crazy . | ||
Ho w else can y ou stare at an empt y can v as and see a w ork of art? Or | ||
sit in silence and hear a song thats nev er b een written? Or gaze at | ||
a red planet and see a lab oratory on wheels? | ||
W e mak e to ols for these kinds of p eople. | ||
While some see them as the crazy ones, w e see genius. Because the | ||
p eople who are crazy enough to think they can c hange the w orld, | ||
are the ones who do. | ||
The Crazy Ones | ||
October 14, 1998 | ||
Heres to the crazy ones. The mis˝ts. The reb els. The troublemakers. | ||
The round p egs in the square holes. | ||
The ones who see things di˙erently. Theyre not fond of rules. And | ||
they have no resp ect for the status quo. You can quote them, | ||
disagree with them, glorify or vilify them. | ||
Ab out the only thing you cant do is ignore them. Because they change | ||
things. They invent. They imagine. They heal. They explore. They | ||
create. They inspire. They push the human race forward. | ||
Mayb e they have to b e crazy. | ||
How else can you stare at an empty canvas and see a work of art? Or | ||
sit in silence and hear a song thats never b een written? Or gaze at | ||
a red planet and see a lab oratory on wheels? | ||
We make to ols for these kinds of p eople. | ||
While some see them as the crazy ones, we see genius. Because the | ||
p eople who are crazy enough to think they can change the world, | ||
are the ones who do. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters