-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF::Inspector::Text.analyze does not return strings within repeat block #25
Comments
Hi Rui, Could you please provide a minimal example that demonstrates the issue? |
The minimal example is pretty much as above. text_box "Hello A", at: [0, bounds.top]
repeat(1..page_count) do
text_box "Hello B", at: [100, bounds.top]
end Hello B will not be available in the strings collection. Only Hello A. |
@pointlessone what are the requirements for a minimal example? |
A good example should be:
Don't get me wrong. I (and everyone else) appreciate that you're reporting issues. That is a valuable contribution. Sometimes that is all people can contribute. But is they can do more it helps a lot. |
failing test example
|
Having the same issue here.
And the expected string is in a header that is repeated on all pages:```
|
I'm seeing the same with The underlying issue/change in behaviour seems to be with pdf-reader. Issue here: yob/pdf-reader#268 |
When using
PDF::Inspector::Text.analyze(some_pdf).strings
, it does not return strings that were added viaIs there a way to get a hold of these strings?
The text was updated successfully, but these errors were encountered: