ArthurHub / ArthurHub/HTML-Renderer

Acrobat Reader DC Open Error Dialogue - "An error exists on this page..."

Đang mở
#52 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
bug PDF
Ngôn ngữ chính
C#
Star
1.4k
Fork
550
Merge trung bình
14 ngày 9 giờ
Pull request đã merge (30 ngày)
1

Mô tả

Hi guys,

When I convert my HTML to PDF and try opening it in Acrobat Reader DC, an error dialogue shows, saying "An error exists on this page. Acrobat may not display the page correctly..." I've done a little bit of research and the potential problem is from the conversion of the HTML string. If there are inline characters "\n" this should be encoded using Converter.ToBase64String then decoded using Converter.FromBase64String, instead of Encoding.UTF8, etc.

Please let me know if anyone is able to change the source code for this and publish it to the next version.

Regards,

Adhy

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

The report names no source file, test, or reproducible HTML input. Start by reproducing the HTML-to-PDF conversion with the reported inline newline case and inspect the PDF-generation path; done means Acrobat Reader opens the generated PDF without the dialogue.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
csharp
Lĩnh vực
tooling
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.