-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
à character rendered where it should not be rendered #6721
Comments
Interestingly enough, even though Adobe Reader doesn't render the Edit: issue6721_reduced.pdf. |
Thanks guys! |
Hi guys, just wanted to check in to see if you guys were able to find a fix to this issue. Thank you so much! Regards, |
Not yet, for these kinds of issues finding the cause of the problem is unfortunately not trivial, so this might take some time before someone has a fix. |
@timvandermeij Happy New Years everyone! Just checking in to see if anyone added a fix for this yet :) Thanks! Regards, |
@timvandermeij Just following up to see if there will be a planned fix soon? Thanks! |
When a fix becomes available, it will be reported here. |
Hi there, Just checking in to see if this fix is out on production? Thanks! Regards, |
The fix has been merged here, so it's most likely out for production in the current or the next Firefox release. |
Hi Tim, I'm just following up to see if this is out on production yet? Thanks! Regards, |
What does "production" actually mean in this case? |
Understood thank you! |
This bug is similar to the canvas bug of mozilla#6721. I found this bug when I tried to run pdf2svg on a SVG file, and the generated SVG could not be viewed in Chrome due to a SVG/XML parsing error: "PCDATA invalid Char value 3" Reduced test case: - https://github.com/mozilla/pdf.js/files/1229507/pcdatainvalidchar.pdf - expected: "hardware performance" - Actual SVG source: "hardware\x03performance" (where "\x03" is a non-printable character, and invalid XML). In terms of rendering, this bug is similar to mozilla#6721, where an unexpected glyph appeared in the canvas renderer. This was fixed by mozilla#7023, which skips over missing glyphs. This commit follows a similar logic. The test case from mozilla#6721 can be used here too: - https://github.com/mozilla/pdf.js/files/52205/issue6721_reduced.pdf expected: "Issue 6721" actual (before this patch): "Issue ààà6721"
This bug is similar to the canvas bug of mozilla#6721. I found this bug when I tried to run pdf2svg on a SVG file, and the generated SVG could not be viewed in Chrome due to a SVG/XML parsing error: "PCDATA invalid Char value 3" Reduced test case: - https://github.com/mozilla/pdf.js/files/1229507/pcdatainvalidchar.pdf - expected: "hardware performance" - Actual SVG source: "hardware\x03performance" (where "\x03" is a non-printable character, and invalid XML). In terms of rendering, this bug is similar to mozilla#6721, where an unexpected glyph appeared in the canvas renderer. This was fixed by mozilla#7023, which skips over missing glyphs. This commit follows a similar logic. The test case from mozilla#6721 can be used here too: - https://github.com/mozilla/pdf.js/files/52205/issue6721_reduced.pdf expected: "Issue 6721" actual (before this patch): "Issue ààà6721"
This bug is similar to the canvas bug of mozilla#6721. I found this bug when I tried to run pdf2svg on a SVG file, and the generated SVG could not be viewed in Chrome due to a SVG/XML parsing error: "PCDATA invalid Char value 3" Reduced test case: - https://github.com/mozilla/pdf.js/files/1229507/pcdatainvalidchar.pdf - expected: "hardware performance" - Actual SVG source: "hardware\x03performance" (where "\x03" is a non-printable character, and invalid XML). In terms of rendering, this bug is similar to mozilla#6721, where an unexpected glyph appeared in the canvas renderer. This was fixed by mozilla#7023, which skips over missing glyphs. This commit follows a similar logic. The test case from mozilla#6721 can be used here too: - https://github.com/mozilla/pdf.js/files/52205/issue6721_reduced.pdf expected: "Issue 6721" actual (before this patch): "Issue ààà6721"
The PDF file at https://www.dropbox.com/s/ygmic028oykprkw/respond_document_print.pdf?dl=1 has random
à
characters rendered where they should not be.The text was updated successfully, but these errors were encountered: