Commit Graph

5 Commits (355813462f1cf6c76f246034ed33e3148816e5e6)

Author SHA1 Message Date
Guillaume Dott 355813462f Handle strings with spaces 2022-02-24 10:00:10 +01:00
Guillaume Dott e53151f2c1 Bump version to 0.1.1 2022-02-23 17:26:49 +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