New issue
Advanced search Search tips
Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Compat



Sign in to add a comment
link

Issue 176164: Printed document text is misplaced when printing using system dialog.

Reported by osto...@gmail.com, Feb 14 2013

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1409.0 Safari/537.31

Steps to reproduce the problem:
1. Load the following page:
chrome-printing-bug.html

2. Print using System Dialog (Control+Shift+P)

3. Select any printer, can be virtual PDF printer or anything.

What is the expected behavior?
This is the expected printing result, I printed this using "Print Preview"

good-printing.pdf

What went wrong?
Text is located lower than it should be creating some damage to table bottom borders, text is 2 pixels lower.

wrong-printing.pdf

Did this work before? Yes It worked fine when SKIA_TEXT was disabled long time ago.

Chrome version: 26.0.1409.0  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)

To save you guys some testing:

If you build chromium with enable_skia_text = 0 on webkit options then there is no problem with printing using system dialog.
When enable_skia_text = 1 the bug is back.

The fix is not just disabling skia text since it will create problems to all text rendered using webgl.

I don't remember the exact build when SKIA_TEXT was enabled.
 
good-printing.pdf
62.1 KB Download
chrome-printing-bug.html
3.6 KB View Download
wrong-printing.pdf
16.0 KB Download

Comment 1 by cawarren@chromium.org, Feb 14 2013

Labels: Internals-Skia Feature-Printing Area-Compat

Comment 2 by bugdroid1@chromium.org, Mar 10 2013

Project Member
Labels: -Type-Bug -Internals-Skia -Feature-Printing -Area-Compat Cr-Internals-Skia Type-Compat Cr-Internals-Printing

Comment 3 by hcm@chromium.org, Dec 8 2014

Cc: halcanary@chromium.org hcm@chromium.org
Owner: bunge...@chromium.org
Status: Assigned
Reproduced on latest windows builds today.  Though this one will remain lower priority it is current... over to bungeman et al for a look.

Comment 4 by hcm@chromium.org, Dec 7 2015

Labels: Hotlist-Fixit

Comment 5 by halcanary@chromium.org, Mar 16 2018

Cc: -halcanary@chromium.org

Sign in to add a comment