diff options
| author | bulia byak <buliabyak@gmail.com> | 2009-11-07 23:59:36 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2009-11-07 23:59:36 +0000 |
| commit | 7e9866358d46080aa5c4adeb830fbad43896724d (patch) | |
| tree | b0010df42c25b44845da448fcf41d3ba5d11ce93 /src/extension/internal/cairo-render-context.cpp | |
| parent | Spanish translation update by Lucas Vieites (diff) | |
| download | inkscape-7e9866358d46080aa5c4adeb830fbad43896724d.tar.gz inkscape-7e9866358d46080aa5c4adeb830fbad43896724d.zip | |
revert the PS rotation part of Adrian's patch for 437550, see discussion in the bug
(bzr r8820)
Diffstat (limited to 'src/extension/internal/cairo-render-context.cpp')
| -rw-r--r-- | src/extension/internal/cairo-render-context.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/extension/internal/cairo-render-context.cpp b/src/extension/internal/cairo-render-context.cpp index cae496543..1594ced7d 100644 --- a/src/extension/internal/cairo-render-context.cpp +++ b/src/extension/internal/cairo-render-context.cpp @@ -768,15 +768,7 @@ CairoRenderContext::setupSurface(double width, double height) #endif #ifdef CAIRO_HAS_PS_SURFACE case CAIRO_SURFACE_TYPE_PS: - if (!_eps && width > height) { - surface = cairo_ps_surface_create_for_stream(Inkscape::Extension::Internal::_write_callback, _stream, height, width); - cairo_matrix_init (&ctm, 0, -1, 1, 0, 0, 0); - cairo_matrix_translate (&ctm, -width, 0); - cairo_ps_surface_dsc_begin_page_setup (surface); - cairo_ps_surface_dsc_comment (surface, "%%PageOrientation: Landscape"); - } else { - surface = cairo_ps_surface_create_for_stream(Inkscape::Extension::Internal::_write_callback, _stream, width, height); - } + surface = cairo_ps_surface_create_for_stream(Inkscape::Extension::Internal::_write_callback, _stream, width, height); if(CAIRO_STATUS_SUCCESS != cairo_surface_status(surface)) { return FALSE; } |
