Skip to content
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

Really strange box rendering with OBJ characters? #564

Closed
achuinard opened this issue Oct 2, 2020 · 2 comments
Closed

Really strange box rendering with OBJ characters? #564

achuinard opened this issue Oct 2, 2020 · 2 comments

Comments

@achuinard
Copy link
Contributor

I've used this library for a long time but recently one of my customers informed me that their PDFs are rendering with a strange box with the letters OBJ inside:

image

I don't understand what could possibly be rendering that OBJ. The user's data in Firebase looks perfectly normal:

image

The funny thing is, if I delete this property from their Firebase node and re-add it with the same text, it now renders fine without that OBJ:

image

But the data is literally the exact same in Firebase before I deleted and re-added:

image

Is there some strange character in there that Firebase isn't rendering and is causing messed up rendering on the PDF?

@danfickle
Copy link
Owner

I think your theory is correct. It appears to be copy and pasted text.

https://en.wiktionary.org/wiki/%EF%BF%BC

Sample of usage:
https://developer.apple.com/documentation/businesschatapi/messages_sent/adding_attachment_metadata_to_a_message

It will also depend on whether the font has this character. Maybe we should filter it out with something like #549?

@achuinard
Copy link
Contributor Author

@danfickle you are great. Thanks for fixing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants