I have a text based PDF and I am trying to replace a word such as "aaa" with a longer word, for instance "eeeeeeeee". Doing this, the longer text goes over the next word (letters are stacked) although the expected behaviour would be the next word to shift to right.
I know that PDF is not that easy to shift text like this; but I hope you guys have a suggestion for handling this kind of replacement.
PS: The issue does not occur if all words do have the exact same format; but if even a little formatting difference exist, than the problem shows up.
Attached is a screenshot of the problem we are having.