Commit Graph

4 Commits (fcdb7ff2f16916ea49fce1372377e29ec013fe5d)

Author SHA1 Message Date
Guillaume Dott 355813462f Handle strings with spaces 2022-02-24 10:00:10 +01:00
Guillaume Dott f43b536d0c Remove spaces from searched text
PDF::Reader::PageTextReceiver removes spaces from runs.
https://github.com/yob/pdf-reader/blob/v2.9.1/lib/pdf/reader/page_text_receiver.rb#L141
The easy solution for now is to remove spaces from searched strings.
Another solution may be to create a custom PageTextReceiver to keep
spaces.
2022-02-23 17:24:13 +01:00
Guillaume Dott 64576a1c7e Add PDF::Reader::Page#find_text method 2022-02-23 17:12:31 +01:00
Guillaume Dott e8260726e1 Initial commit 2022-02-23 16:58:28 +01:00