Issue 1318 in pdfium: Picture and Table border overlaps

22 views
Skip to first unread message

psaravi… via monorail

unread,
Jun 6, 2019, 7:25:20 AM6/6/19
to pdfiu...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1318 by psaravi...@gmail.com: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318

Hi team,

The image and table border has been overlap. we found that the image generated in the Pdfium have the same behavior at different magnification values. We exported the images in Pdfium at 100 and 200 percentage zoom values.
The Pdf document and output images was attached for reference.

We had used the below code:

Int Width, Height = 0;

IntPtr data;

For 100 Percentage =>Width = 1836; & Height = 2372; data = 0x12120000;

For 200 Percentage => Width = 3672; & Height = 4748; data = 0x13be0000;

IntPtr createdpages = PdfiumViewer.FPDFBitmap_CreateEx(Width, Height, 4, data, bitmapImage.Width * 4);

PdfiumViewer.FPDFBitmap_FillRect(createdpages, 0, 0, Width, Height, background);

PdfiumViewer.FPDF_RenderPageBitmap(createdpages, pages, 0, 0, Width, Height, 0, 0);

Kindly check this issue with the above code and let me know the solution to resolve this issue.

OS details: Windows 10 Pro Version 1809 (OS Build 17763.379).

Please let me know if you have any concern.
Regards,
Aravindh Ps.

Attachments:
AtZoomPercentage100.png 218 KB
AtZoomPercentage200.png 850 KB
sample.pdf 446 KB

--
You received this message because:
1. The project was configured to send all issue notifications to this address

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

psaravi… via monorail

unread,
Jun 6, 2019, 7:57:41 AM6/6/19
to pdfiu...@googlegroups.com

Comment #1 on issue 1318 by psaravi...@gmail.com: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c1

Please find the issue image screenshot.

Attachments:
Issue.png 185 KB

thes… via monorail

unread,
Jun 6, 2019, 2:27:56 PM6/6/19
to pdfiu...@googlegroups.com

Comment #2 on issue 1318 by the...@chromium.org: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c2

Does this issue only happen with a particular PDF? If so, can you provide the PDF?

psaravi… via monorail

unread,
Jun 17, 2019, 2:32:34 AM6/17/19
to pdfiu...@googlegroups.com

Comment #3 on issue 1318 by psaravi...@gmail.com: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c3

The PDF document was already provided in first response. However, we have attached again here.

Can you please check and provide us the details on the reported issue?

Attachments:
sample.pdf 446 KB

dh… via monorail

unread,
Jun 19, 2019, 2:43:02 PM6/19/19
to pdfiu...@googlegroups.com
Updates:
Status: Accepted

Comment #4 on issue 1318 by dh...@chromium.org: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c4

(No comment was entered for this change.)

psaravi… via monorail

unread,
Jul 15, 2019, 10:24:21 AM7/15/19
to pdfiu...@googlegroups.com

Comment #5 on issue 1318 by psaravi...@gmail.com: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c5

Can you please let me know? Where can i track the status of the issue?

psaravi… via monorail

unread,
Sep 17, 2019, 2:31:28 AM9/17/19
to pdfiu...@googlegroups.com

Comment #6 on issue 1318 by psaravi...@gmail.com: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c6

Can you please let us know the status of the issue?

uthandar… via monorail

unread,
Jan 20, 2020, 1:44:28 AM1/20/20
to pdfiu...@googlegroups.com

Comment #7 on issue 1318 by uthandar...@gmail.com: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c7

Hi Team,

Can you please let us know the status of this issue?

Regards,
Uthandaraja S

uthandar… via monorail

unread,
Mar 20, 2020, 1:19:48 AM3/20/20
to pdfiu...@googlegroups.com

Comment #8 on issue 1318 by uthandar...@gmail.com: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c8

Can you please tell us in which version the fix will be release?

deepak21… via monorail

unread,
Jul 23, 2020, 12:36:59 AM7/23/20
to pdfiu...@googlegroups.com

Comment #10 on issue 1318 by deepak21...@gmail.com: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c10

Hi the...@chromium.org,

Thank you for accepted the defect. It will be helpful for us if you could let us know the version in which this fix will be availabe.

Regards,
Deepak G

thes… via monorail

unread,
Jul 23, 2020, 3:14:49 AM7/23/20
to pdfiu...@googlegroups.com

Comment #11 on issue 1318 by the...@chromium.org: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c11

I didn't accept the bug. Comment 4 did.

Based on my testing, I cannot reproduce this issue. Attached is the rendering output I see at 1836x2372. Here, the image is right next to the table. There's no excessive overlap as seen in AtZoomPercentage100.png.

Attachments:
no_excess_overlap.png 662 KB

deepak21… via monorail

unread,
Jul 23, 2020, 4:26:38 AM7/23/20
to pdfiu...@googlegroups.com

Comment #12 on issue 1318 by deepak21...@gmail.com: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c12

Hi the...@chromium.org ,

Thank you for the clarification. The issue was previously mark as accepted [https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c4] and later it was changed to Available. Can you please let me know if this was fixed in the recent versions of PDFium. If so, please share the version details.

Regards,
Deepak G

thes… via monorail

unread,
Jul 24, 2020, 4:52:40 PM7/24/20
to pdfiu...@googlegroups.com

Comment #13 on issue 1318 by the...@chromium.org: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c13

Since the original bug reporter did not specify what version of PDFium they used, I tried PDFium from early June, 2019. The rendering is the same as comment 11. While the overlap does happen at smaller image dimensions, at 1836x2372, there is no overlap. So AFAICT, this bug can't be reproduced with the given parameters.

thes… via monorail

unread,
Jul 28, 2020, 3:01:01 AM7/28/20
to pdfiu...@googlegroups.com
Updates:
Labels: Needs-Feedback

Comment #14 on issue 1318 by the...@chromium.org: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c14

Original bug reporter: So are you happy with the current PDFium rendering at 1836x2372?

deepak21… via monorail

unread,
Jul 31, 2020, 2:27:42 PM7/31/20
to pdfiu...@googlegroups.com

Comment #15 on issue 1318 by deepak21...@gmail.com: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c15

Hi the...@chromium.org,

I am following it up this issue on behalf of the original bug reporter. We have used the version which is older to the June, 2019. Currently I am building the latest source for Windows to confirm the issue is fixed in the recent versions.

thes… via monorail

unread,
Jul 31, 2020, 2:29:54 PM7/31/20
to pdfiu...@googlegroups.com
Updates:
Status: WontFix

Comment #16 on issue 1318 by the...@chromium.org: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c16

Thanks for the update. Closing.

deepak21… via monorail

unread,
Jul 31, 2020, 2:58:19 PM7/31/20
to pdfiu...@googlegroups.com

Comment #18 on issue 1318 by deepak21...@gmail.com: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c18

Hi the...@chromium.org

Just for your kind information. I am yet to test it in the latest version and I am still building the dll for Windows. I will update the results here once I tested it successfully.

thes… via monorail

unread,
Jul 31, 2020, 8:05:18 PM7/31/20
to pdfiu...@googlegroups.com
Updates:
Labels: Needs-Feedback
Status: Unconfirmed

Comment #19 on issue 1318 by the...@chromium.org: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c19

Sorry, misread.

deepa… via monorail

unread,
Nov 6, 2020, 5:24:16 AM11/6/20
to pdfiu...@googlegroups.com

Comment #20 on issue 1318 by deepa...@gmail.com: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c20

Hi the...@chromium.org

Thank you for keeping this issue open. It seems that the issue is fixed in the recent versions of Pdfium. So this can be closed

n… via monorail

unread,
Nov 6, 2020, 11:50:18 PM11/6/20
to pdfiu...@googlegroups.com

Comment #21 on issue 1318 by ni...@chromium.org: Picture and Table border overlaps
https://bugs.chromium.org/p/pdfium/issues/detail?id=1318#c21

Confirmed that rendering this PDF with the build of pdfium_test at the scale of 100% and 200%, borders are not overlapping.
However when opening the PDF in the latest build of chrome PDF viewer ( version 88.0.4316.0) at scale level 100%, overlapping is still happening.
Reply all
Reply to author
Forward
0 new messages