Hi,
I am trying to export a pdf from JCEF. Since my browser window is in a resizable Panel I need to adjust the image size to keep the correct aspect ratio. I am doing this by specifying MarginType.Custom in the CefPdfPrintSettings and setting the margins via the margin_* properties.
The comment in CefPdfPrintSettings.java suggests that these values are im millimeters. However, this does not appear to be true because when looking and measuring in the resulting pdf file, the margins in millimeter are roughly 1/3 the value that was specified in the properties. Did anybody else notice this and knows if this is a documentation or an implementaion problem?
Thanks for any help!