<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Hello,<br>
<br>
We are using cairolib some years. We use recording surfaces
extensively: we build report page as recording surface, then we are
making pdf (create_pdf_surface) from this surface, preview it and
print it (create_win32_printing_surface). It worked fine with cairo
version 1.10
<p data-sourcepos="3:1-3:166" dir="auto">Now we are trying to
migrate to version 1.18, create_win32_printing_surface shows
incomplete information on screen and printed. Does someone has
recipe to avoid this.</p>
<p data-sourcepos="5:1-5:43" dir="auto">Example attached (Compile
msys and mingw32)</p>
<pre class="moz-quote-pre" wrap="">Kestutis<span
style="white-space: normal">
p.s. I guess that there is some transform issue, because I write object sizes and placements in 10 micrometers in recording surface, and therefore transformation matrix is 72/2540, 0, 0, 72/2540, 0, 0 for pdf and GetDeviceCaps(hDC, LOGPIXELSX)/2540, 0, 0, GetDeviceCaps(hDC, LOGPIXELSY)/2540, 0, 0
p.s. I register issues in <a class="moz-txt-link-freetext" href="https://gitlab.freedesktop.org/cairo/cairo/-/issues/817">https://gitlab.freedesktop.org/cairo/cairo/-/issues/817</a>
</span></pre>
</body>
</html>