Using this patch with printing
sample:
diff --git a/samples/printing/printing.cpp b/samples/printing/printing.cpp index 7c4d7254db..541c7f04ee 100644 --- a/samples/printing/printing.cpp +++ b/samples/printing/printing.cpp @@ -207,7 +207,7 @@ void MyApp::Draw(wxDC&dc) wxIcon my_icon = wxICON(sample); - dc.DrawIcon( my_icon, dc.FromDIP(100), dc.FromDIP(100)); + dc.DrawIcon(my_icon, 0, 0); if (m_bitmap.IsOk()) dc.DrawBitmap( m_bitmap, dc.FromDIP(10), dc.FromDIP(10) );
The printed result differs from both the preview and the non-printer DC.
Printed to JPG using clawPDF:
wxWidgets Preview screenshot:
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.