J-F-Liu / lopdf

A Rust library for PDF document manipulation.
MIT License
1.64k stars 176 forks source link

doc.replace_text doesn't work #99

Open OlekRia opened 4 years ago

OlekRia commented 4 years ago

Here is a file for test: https://www.uscis.gov/system/files_force/files/form/i-9-paper-version.pdf?download=1 I tried to change it using replace_text. Unfortunately, it doesn't work. Advice needed.

I suspect, because of version 1.6

sfraczek commented 7 months ago

I have the same problem - it doesn't replace text. All text disappears from page. :( I used the same length text.