Page 1 of 1

Google logo not appearing in PDF

PostPosted: Thu May 25, 2017 10:14 am
by pingu7931
If I attempt to print to PDF any google home page the google logo image does not appear with CefPdfPrintSettings.backgrounds_enabled set to true:
google.com.pdf
(62.38 KiB) Downloaded 503 times


This happens in OSR and windowed rendering as shown by the screenshot:
screenshot.gif
screenshot.gif (60.38 KiB) Viewed 3087 times


Any help appreciated

Peter

Re: Google logo not appearing in PDF

PostPosted: Fri May 26, 2017 3:59 pm
by magreenblatt
What OS and CEF version? Is it only a problem when backgrounds_enabled is set?

Re: Google logo not appearing in PDF

PostPosted: Tue May 30, 2017 4:14 am
by pingu7931
magreenblatt wrote:What OS and CEF version? Is it only a problem when backgrounds_enabled is set?

Hi Marshall

It's been with all the builds up to and including 3.3029.1617.gaf831b. Basicallt we've just been ignoring it to come back to the issue later.

It's occurs with backgrounds_enabled on and off.

I have just checked with the cef_client and it works when I add that settings.header_footer_enabled = true; to OnFileDialogDismissed so I shall have to investigate why it isn't working in my code!

I'm not actually showing a file dialog - just printing to a temp file - so as far as I can tell that is the only difference. But I'll investigate further.