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
No spaces inserted when cursor is moved horizontally #76
Comments
@archonia You saved my day! Thanks! 👍 Open a pull request with this change, I think @smalot will merge it. Or if you're not interested in this package more, I have already forked this repo with changes committed so I can send a PR if you're not against. I mean you're the author of this fix, so I don't want to "steal" your PR without asking 😄 |
@Stichoza Feel free to submit a pull-request. I'm still using this package but am not so fluent with github. I'm also not sure what delta should be to justify insertion of a space (10 worked for the file I was trying to parse). Inserting a tab is another option. |
Fixed by #97 |
I have a pdf that shows text that is aligned in columns (probably a pdf export of an excel file):
There is no character spacing between cell 1 and cell 2 causing the text to be output as:
The spacing in the pdf is apparently done using the Text Matrix "Tm" command. I adjusted the "Tm" handling to take a change in the x coordinate into consideration to get spacing between the cells.
Object.php / getText ->
Would that be a correct way to fix the problem?
The text was updated successfully, but these errors were encountered: