diff options
| author | Adib Taraben <theadib@gmail.com> | 2009-04-24 10:37:51 +0000 |
|---|---|---|
| committer | theadib <theadib@users.sourceforge.net> | 2009-04-24 10:37:51 +0000 |
| commit | 6ebeb66c1f71f2c9b6bf2772316a78496b0165bc (patch) | |
| tree | 1c324a3ddf745dbbb134825c0a490390aa39dcfe /src/ui/dialog/print.cpp | |
| parent | * [INTL: sk] Slovak translation update (trunk) (diff) | |
| download | inkscape-6ebeb66c1f71f2c9b6bf2772316a78496b0165bc.tar.gz inkscape-6ebeb66c1f71f2c9b6bf2772316a78496b0165bc.zip | |
apply printing w32 patch https://bugs.launchpad.net/inkscape/+bug/179988/comments/174
(bzr r7767)
Diffstat (limited to 'src/ui/dialog/print.cpp')
| -rw-r--r-- | src/ui/dialog/print.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/dialog/print.cpp b/src/ui/dialog/print.cpp index bb2b5d68d..890e0061c 100644 --- a/src/ui/dialog/print.cpp +++ b/src/ui/dialog/print.cpp @@ -167,7 +167,10 @@ draw_page (GtkPrintOperation */*operation*/, } #endif - bool ret = ctx->setSurfaceTarget (surface, true); if (ret) { + cairo_matrix_t ctm; + cairo_get_matrix(cr, &ctm); + bool ret = ctx->setSurfaceTarget (surface, true, &ctm); + if (ret) { ret = renderer.setupDocument (ctx, junk->_doc, TRUE, NULL); if (ret) { renderer.renderItem(ctx, junk->_base); |
