-
Notifications
You must be signed in to change notification settings - Fork 360
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
Dotted and dashed table border styles cause errors in Adobe Reader #135
Comments
Adobe reader details: |
@tapple I can reproduce the problem with Acrobat Reader on Mac OS X. I took a quick look into the document using the PDFBox debugger and pre-flight. With the debugger everything seems (and renders) fine. Preflight reports some errors:
The reported errors are extra strict, as preflight validates against PDF/A-1b. I think the colorspace stuff should not matter, also the font warnings should not cause that behavior. But it would make sense to fix this warnings. I don't get any error message from Acrobat Reader. @tapple What exact errors are reported to you by Acrobat Reader? |
…obat Reader does not like that and stops rendering everything ...
@tapple The problem here was a invalid MiterLimit value of 0. All other PDF viewers just ignore that value, Acrobat Reader stops to render anything ... #137 fixes this. I had a similar problem in PDFBoxGraphics2D, which was found and fixed by @FabioVassallo |
Fix #135: Don't write a MiterLimit of 0 into the PDF
Tables with cell borders styled dotted or dashed render fine in most pdf viewers, but generate an error or render as a blank page when viewer id Adobe Reader DC. Attached are two html files (one dotted, one dashed), and the pdf files they generate
dashed-border-bug.html.txt
dashed-border-bug.pdf
dotted-border-bug.html.txt
dotted-border-bug.pdf
The text was updated successfully, but these errors were encountered: