CEF3 Printing Looks Munched in Windows

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

CEF3 Printing Looks Munched in Windows

Postby chowey » Fri Oct 25, 2013 3:52 pm

I was excited to see that printing support is now in CEF 3. I downloaded the latest nightly build from http://cefbuilds.com/ (CEF 3.1673.1487). I ran the default CEF example app. The results were a bit disappointing.

The following example is from http://shakespeare.mit.edu/macbeth/macbeth.2.1.html.

Here is a screenshot from CEF (after printing to PDF):

Image

Here is the same page from Chrome (after printing to PDF):

Image

In the CEF printout, the letters seem to be clipped at their bounding box. This is especially noticeable in the italicized text (the "B" or "O" in "BANQUO"). It is also visible in regular text (the "f" in "The Tragedy of Macbeth").

I have tried printing using several PDF printers, as well as a real printer. The results are the same.

Why is this? Is there something I can do to improve it?
Last edited by chowey on Fri Oct 25, 2013 5:46 pm, edited 1 time in total.
chowey
Techie
 
Posts: 20
Joined: Fri Oct 25, 2013 3:13 pm

Re: CEF3 Printing Looks Munched

Postby magreenblatt » Fri Oct 25, 2013 4:17 pm

What OS are you using? You might also have better luck using a stable branch (like 1547 or 1650) instead of trunk.
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm

Re: CEF3 Printing Looks Munched

Postby chowey » Fri Oct 25, 2013 4:22 pm

I am using the 32-bit Windows version. I tried the Branch 1650 (CEF 3.1650.1483) as well with the same results.
chowey
Techie
 
Posts: 20
Joined: Fri Oct 25, 2013 3:13 pm

Re: CEF3 Printing Looks Munched

Postby magreenblatt » Fri Oct 25, 2013 4:47 pm

What version of Chrome are you testing with? You should compare to the same version of CEF if possible.
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm

Re: CEF3 Printing Looks Munched

Postby chowey » Fri Oct 25, 2013 5:32 pm

I did the "good" test with Chrome 30.0.1599.101. I can try other versions, but I'm not sure it will make a difference. Here's why:

I have now tested with CEF 3.1673.1487 (uses Chromium 32.0.1673.0), CEF 3.1650.1483 (uses Chromium 31.0.1650.16) and CEF 3.1547.1491 (uses Chromium 29.0.1547.80). I used the Windows 32-bit version. Each one produced the same clipped letters.

I also built and tested CEF 3.1673.1487 (uses Chromium 32.0.1673.0) on my Mac. This is the 32-bit Mac version. This seems fine (no clipped letters).

So it specifically seems to be an issue with Windows printing across 3 Chromium versions (using the 3 branches of CEF).
chowey
Techie
 
Posts: 20
Joined: Fri Oct 25, 2013 3:13 pm

Re: CEF3 Printing Looks Munched in Windows

Postby magreenblatt » Tue Dec 17, 2013 7:19 pm

Printing quality on Windows seems much improved with the trunk build which is now based on Aura.
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm

Re: CEF3 Printing Looks Munched in Windows

Postby chowey » Mon Dec 23, 2013 9:27 pm

Things definitely do seem improved in Trunk. Thanks.
chowey
Techie
 
Posts: 20
Joined: Fri Oct 25, 2013 3:13 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 48 guests