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

Issue 752506 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Closed: Dec 13
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 2
Type: Bug


Show other hotlists

Hotlists containing this issue:
Chrome-Bug-Cleanup


Sign in to add a comment

Wrong disposition of characters on print preview on A4 paper size

Project Member Reported by marcore@chromium.org, Aug 4 2017

Issue description

Chrome Version: 60.0.3112.90 (Official Build) (64 bit, cohort : 60_90_win)
Chrome Canary:  62.0.3176.2
OS: Windows 7 professional SP1 32bit and Windows 10

What steps will reproduce the problem?
(1) open pdf file attached 
(2) print preview with Microsoft XPS Document Writer
(3) chose A4 Paper size

What is the expected result?
to see correctly the pdf in the preview

What happens instead?
Upside down characters and wrong disposition of characters when trying to print preview a PDF file.

If is chosen  a different paper size (Letter, A4 Extra) I'ts correct with or without "Fit to page"
with A4 if the scale is != 100 it's also correct

PDF file from customer:
https://drive.google.com/open?id=0B01ZVp8vDQocVnZ1WTZlLVl6X0E

video 
https://drive.google.com/open?id=0B01ZVp8vDQocX0hkZWlPeENpSVE

 
Hi Richard, could you please help triage this issue ?
Components: Internals>Plugins>PDF
Owner: ----
Do you know if this is a regression? Did it used to work?
Cc: kkaluri@chromium.org
Labels: Needs-Triage-M62
Able to reproduce this issue on Windows 10 with chrome stable #60.0.3112.90, Canary #62.0.3178.0 and also in earlier version M45-#45.0.2454.101.
This is a non-regression issue, hence marking it as untriaged.

Attaching the screen-cast for reference.
752506.mp4
1.2 MB View Download
Owner: npm@chromium.org
Status: Assigned (was: Untriaged)
Seems like a font issue, can you please take a look?

Comment 5 by npm@chromium.org, Aug 8 2017

Labels: OS-Linux
Hm ok, I can take a look if this is not a high priority bug. Thankfully, this can also be reproduced on Linux with print preview to Save As PDF.
the customer send the procedure used to generate the pdf:
1) connect to this page: https://www.manneken.co.jp/menu/info/allergy/20170912
2) print to save as pdf
3) open the pdf with Adobe (in my case with Adobe Reader)
4) add a comment or highlight some text
5) open the pdf in chrome 
6) print preview at 100%

file before comment: https://drive.google.com/open?id=0B01ZVp8vDQocSy1nSUdrVFRpZEk
file with comment: https://drive.google.com/open?id=0B01ZVp8vDQocYWpMZ1N4QkFTYUk
video: https://drive.google.com/open?id=0B01ZVp8vDQocSTcwaVJPUm0zM1U

Hi, any news on this issue? Thank you

Comment 8 by npm@chromium.org, Sep 26 2017

No news yet, I haven't looked into this.

Comment 9 by ryutas@chromium.org, Oct 18 2017

npm@
Is there any update that can be shared with us?

Comment 10 by npm@chromium.org, Oct 18 2017

Labels: -Pri-3 Pri-2
Yesterday I actually looked at this bug for a bit. I found the part of the PDF concerning the misplaced red text but not entirely sure yet why the text is misplaced.
PS: I only work 20% on PDF stuff. If the bug is important, one way to note that is to set the appropriate priority (right now, it is set to 3, which means the bug could be ignored for a long time).

Comment 11 by npm@chromium.org, Nov 10 2017

Cc: npm@chromium.org
Owner: hnakashima@chromium.org
I looked at this some more. On Linux, opening the PDF right away works fine. But Control+P and then Save as PDF and then opening the saved PDF exhibits the problem. In the original PDF, there is an "Annots" array, but not in the saved PDF. When rendering the original PDF, in CPDF_Annot::DrawInContext, layers with nontrivial matrices are appended to the CPDF_RenderContext. But these are missing when rendering the saved PDF, which explains the incorrect positioning. It seems, then, that the Page objects are missing this information. I don't see a fast way to fix it (but then again, I haven't worked with annotations). Passing back to hnakashima@ since this seems unrelated to texts/fonts.
npm@
Thanks for all your support.

hnakashima@
Is there any update?
Cc: jayhlee@chromium.org
jayhlee@
would appreciate it if you could help.
The case has not been updated since Nov10 and customer is waiting for update from us.

Owner: dsinclair@chromium.org
Following Nicolas's steps on #11, I'm also able to repro in Linux. After opening the original PDF in Chrome and printing it, the resulting file has the bug (text inverted at the bottom). It appears in other PDF viewers the same way, so this is a bug in printing rather than in the visualization.

Dan, what is the path for printing from the PDF Viewer to a PDF? Who would be a good owner for this?
Cc: rbpotter@chromium.org weili@chromium.org dsinclair@chromium.org
Owner: thestig@chromium.org
thestig@ to triage for the printing side.
Hello!
This bug is receiving this notice because there has been no acknowledgment of its existence in quite a bit of time
- If you are currently working on this bug, please provide an update.
- If you are currently affected by this bug, please update with your current symptoms and relevant logs.

If there has been no updates provided by EOD Wednesday, 12/12/18 (5pm EST), this bug will be archived and can be re-opened at any time deemed necessary.

Thank you!
Status: Archived (was: Assigned)
Due to lack of action this bug has been Archived. If work is still being done on this issue or you are still experiencing this issue please feel free to re-open with the appropriate information.

Sign in to add a comment