You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Load attached “svgRGBA.html” (either from file system via file:// or hosted by a webserver, it doesn’t matter)
Print the HTML content (Menu File → Print…). Use either a physical printer or a PDF printer (e.g. Microsoft PDF Printer).
What is the expected output? What do you see instead?
Expected: The HTML document is printed as it is seen.
Instead: 2 of the three SVG graphics are printed, one is missing.
The missing one is printed on the upper left side and smaller, as if it was not upscaled or shrinked.
What version of the product are you using? On what operating system?
We have the problems on following systems:
Windows 10 64 bit
JCEF 32 bit
JCEF versions 2704, 3325, 3683 and newest (3770)
Does the problem reproduce with the JCEF simple or detailed sample application at the same version? How about with a newer or older version?
Problem could be reproduced with Simple and Detailed MainFrame.
newer/older version: see Version info of point 3
Does the problem reproduce with the cefclient or cefsimple application at the same version? How about with a newer or older version?
The problem could NOT be reproduced with the cefclient.exe of version 3325.
The problem seems to be somehow in the JCEF implementation.
It could only be reproduced in the JCEF sample implementation (simple and detailed) and in our program using JCEF.
The PrintToPDF action works (e.g. in detailed.MainFrame Menu File → Print to PDF).
cefclient.exe also prints correctly.
Also all common browsers (chrome, firefox, chromium) are printing correctly.
The problem seems to be caused by the style function rgba() which sets the alpha value in the 4th parameter (see first graphic in attached svgRGBA.html).
Using rgb() instead and setting additionally the opacity property works (see second graphic in attached svgRGBA.html).
Also using rgba() with an additional opacity works (see third graphic in attached svgRGBA.html).
The text was updated successfully, but these errors were encountered:
Original report by Johann Scheiterbauer (Bitbucket: Phylanx, GitHub: Phylanx).
What steps will reproduce the problem?
What is the expected output? What do you see instead?
The missing one is printed on the upper left side and smaller, as if it was not upscaled or shrinked.
What version of the product are you using? On what operating system?
We have the problems on following systems:
Does the problem reproduce with the JCEF simple or detailed sample application at the same version? How about with a newer or older version?
Does the problem reproduce with the cefclient or cefsimple application at the same version? How about with a newer or older version?
A forum topic was already created, see https://magpcss.org/ceforum/viewtopic.php?f=17&t=16664
Current analysis status:
The problem seems to be somehow in the JCEF implementation.
It could only be reproduced in the JCEF sample implementation (simple and detailed) and in our program using JCEF.
The PrintToPDF action works (e.g. in detailed.MainFrame Menu File → Print to PDF).
cefclient.exe also prints correctly.
Also all common browsers (chrome, firefox, chromium) are printing correctly.
The problem seems to be caused by the style function rgba() which sets the alpha value in the 4th parameter (see first graphic in attached svgRGBA.html).
Using rgb() instead and setting additionally the opacity property works (see second graphic in attached svgRGBA.html).
Also using rgba() with an additional opacity works (see third graphic in attached svgRGBA.html).
The text was updated successfully, but these errors were encountered: