zhangqd / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

Printing does not properly scale elements to fit on a page #1228

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Visit a page that is primarily just images and print. Only the top-left will 
print.
For example, 
http://docs.google.com/viewer?url=http%3A%2F%2Fonline.wsj.com%2Fpublic%2Fresourc
es%2Fdocuments%2FReprint_Samples.pdf&embedded=true
Of the 3 pages, only the upper left corner of the first page will print, only 1 
page is printed.

or

http://scitechdaily.com/images/Image-of-Supermassive-Black-Hole-in-M81.jpg

2. Visit http://html5test.com/. Especially the line with the browser score 
causes a number of the characters to overlap making the text unreadable.

What is the expected output? What do you see instead?
In the case of images, I would expect either the images to scale down to fit on 
the page OR for multiple pages to be printed to contain the full image. Instead 
only part of the image is printed.
For text I would expect the text to wrap to additional lines or for the font to 
shrink so that the characters do not overlap.

What version of the product are you using? On what operating system?
I tested with cef_binary_3.1846.1630_windows32_client and 
cef_binary_3.1846.1630_windows32_client. I am using Windows 8.1 Pro 64-bit.

Please provide any additional information below.
I have tested printing all of the same sites used as examples in Chrome and 
everything prints well laid out on the page. This may not be 100% valid for the 
Google document viewer example as Chrome may be using the built in PDF viewer 
as the print preview before printing the document.

To save paper, I tested printing with both CutePDF and AcroPDF, and both 
displayed the same issues

Original issue reported on code.google.com by mitgira...@gmail.com on 12 Mar 2014 at 2:07

GoogleCodeExporter commented 9 years ago
How does it behave with the current 1650 and 1750 release branches?

Original comment by magreenb...@gmail.com on 12 Mar 2014 at 2:10

GoogleCodeExporter commented 9 years ago
Sorry the second instance of "cef_binary_3.1846.1630_windows32_client" was 
supposed to be cef_binary_3.1650.1617_windows32_client, I cannot copy/paste 
apparently.

I just went back and retested on the 1750 release branch as well with the exact 
same issue.

I have attached the PDFs printed using CEF 1750 (I got identical results with 
1650 and the Dev Channel build) for reference.

Original comment by mitgira...@gmail.com on 12 Mar 2014 at 2:20

Attachments:

GoogleCodeExporter commented 9 years ago
This appears to be fixed in issue #1313.

Original comment by magreenb...@gmail.com on 3 Jul 2014 at 6:31