New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 711984 link

Starred by 6 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , Mac
Pri: 2
Type: Compat



Sign in to add a comment

7 Wonders rules PDF has mangled text in Chrome PDF Viewer

Reported by aler...@gmail.com, Apr 16 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

Example URL:
http://rprod.com/uploads/file/7WONDERS_RULES_US_COLOR.pdf

Steps to reproduce the problem:
1. Open PDF
2. Try to read it
3.

What is the expected behavior?
The PDF redners correctly.

What went wrong?
The PDF renders very wrong.

Does it occur on multiple sites: No

Is it a problem with a plugin? Yes Chrome PDF Viewer

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 57.0.2987.133  Channel: stable
OS Version: Debian Testing
Flash Version: N/A

I cannot get a screenshot of the incorrect rendering because after I opened Iceweasel to see how it handles the PDF, it started rendering correctly in Chrome.
 
Components: Internals>Plugins>PDF
Labels: Needs-Triage-M57
Cc: brajkumar@chromium.org
Labels: Needs-Feedback
Unable to reproduce this issue on Ubuntu 14.04 using chrome latest stable #57.0.2987.133. By opening the pdf link from original comment observed the page loads as expected and no rendering issues is observed.

alercah@ Could you please recheck this issue by creating a new profile under chrome://settings with no apps or extensions in your browser. If issue still persists please provide a screen-cast for better understanding.

Thanks!

Comment 3 by aler...@gmail.com, Apr 17 2017

I tried opening it with a guest profile, with no extensions/apps. I was able to get the following consistent reproduction:

- Open a new guest profile
- Open the URl above
- While the PDF is still loading, scroll down to the second page.
- Observe the broken rendering (screenshot attached).
- Once the PDF is completed loading, scroll past the second page.
- Scroll back to the second page.
- Observe the correct rendering.
broken.png
393 KB View Download
Project Member

Comment 4 by sheriffbot@chromium.org, Apr 17 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "brajkumar@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by weili@chromium.org, Apr 17 2017

Labels: -OS-Linux -Needs-Triage-M57 OS-Mac OS-Windows
Status: Available (was: Unconfirmed)
Looks like font problem
Owner: npm@chromium.org
Status: Assigned (was: Available)
npm@ can you take a look and see if this is a font issue?

Comment 7 by npm@chromium.org, Apr 19 2017

This is a linearized PDF issue. It looks like we are not properly checking that all of the second page's content has been received. And it is rendered immediately with the first page, so we just render improperly due to missing resources. Not yet sure exactly how to fix this.
I observed the problem shown in comment 3. When I scrolled further down and then scrolled back up, the problem disappeared. Is the PDF viewer trying to draw page 2 too early, before all the necessary resources are available?

Comment 9 by npm@chromium.org, Apr 20 2017

I also observed the same behaviour, and it is because the fonts seem to be missing when it first loads the page.

Comment 10 by npm@chromium.org, May 16 2017

Cc: npm@chromium.org
Owner: dsinclair@chromium.org
This is probably the same issue as  bug 624510 

Comment 11 by npm@chromium.org, Jun 13 2017

Cc: hnakashima@chromium.org
Windows 7, chromium 61.0.3159.0

I'm hitting this when viewing https://www.library.cornell.edu/preservation/publications/PreservingBooks.pdf.

Starting with the 2nd page, entire lines of text are mis-rendered. Once I scroll to the bottom of the last page & start scrolling up, the text rendered "fixes" itself.

While searching for a bug I came across mention of issue 249006 which I cannot see. Is that issue related to this problem?

Workaround: pdf.js based extension doesn't exhibit this behavior
Owner: ----
Status: Untriaged (was: Assigned)
Setting PDF bugs assigned to me back to untriaged so they can get re-assigned as needed.
Cc: och...@chromium.org thestig@chromium.org ajha@chromium.org dsinclair@chromium.org
 Issue 624510  has been merged into this issue.
Status: Available (was: Untriaged)
I did reproduce this a year ago, but now I can't anymore. Any tips to reset a cache or something to do it reliably? It might have been fixed in the last year.

Sign in to add a comment