-
Notifications
You must be signed in to change notification settings - Fork 670
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add {line,char}_dir{,rotated,render} params
... and in the process, deeply rewrite the text extraction code to be more flexible with regards to reading/writing non top-to-bottom, left-to-right text. Major kudos and thanks to @afriedman412 for the initial idea, initial prototype, and inspiration for these new features. Breaking change: word["direction"] is no longer {1,-1} but instead {"ltr","rtl","ttb","btt"}. Deprecated: Text-extraction parameters `horizontal_ltr` and `vertical_ttb`.
- Loading branch information
Showing
8 changed files
with
416 additions
and
97 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
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
Oops, something went wrong.