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
Strange character "Ð" every time I press "intro" #606
Comments
There are probably strange invisible unicode characters in your text... |
Mmmm... but in console the text is clean, with no symbpls. |
It can be some kind of space character and look cleen.
Which font are you using? |
Thanks for your answer alafr, |
Thanks, with these details the bug is easy to reproduce: As a workaround you can clean the line breaks with a regular expression: |
It works pretty fine! |
Although @alafr has found a workaround would it be possible to have a more permanent fix? |
Just for the record this issue is still reproducible and the fix above by @alafr to replace the |
although @alafr solution does seem to work on the output, if you have the pdf read by a reader (i.e. pdf.js) it will return a "UnkownErrorException" - " bad XRef entry" |
Hi, |
Hello,
I'm trying to get a text from an object in NodeJs but I have a little problem:
For example:
doc.text(myObject.text);
if myObject.text is like (with "intro's"):
"THIS
IS
MY
TEXT"
when I render the PDF it looks like:
"THIS Ð
IS Ð
MY Ð
TEXT"
I've been looking for info, but I didn't found anything about this, am I the only person in the world??
The text was updated successfully, but these errors were encountered: