diff options
| author | theAdib <theAdib@users.sourceforge.net> | 2006-12-26 15:03:09 +0000 |
|---|---|---|
| committer | theAdib <theAdib@users.sourceforge.net> | 2006-12-26 15:03:09 +0000 |
| commit | fc818f388fd2a0e4da9741b62136da36e0ae5ad7 (patch) | |
| tree | 6472843f45cf04117512682a666c366d12b76ff6 /src/extension/internal/ps.cpp | |
| parent | fix for [ 1597605 ] Fontnames containing spaces are incorrectly written to PS (diff) | |
| download | inkscape-fc818f388fd2a0e4da9741b62136da36e0ae5ad7.tar.gz inkscape-fc818f388fd2a0e4da9741b62136da36e0ae5ad7.zip | |
fix [ 1561416 ] EPS export broken
(bzr r2104)
Diffstat (limited to 'src/extension/internal/ps.cpp')
| -rw-r--r-- | src/extension/internal/ps.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/extension/internal/ps.cpp b/src/extension/internal/ps.cpp index dc03e142a..8eba5fb18 100644 --- a/src/extension/internal/ps.cpp +++ b/src/extension/internal/ps.cpp @@ -447,10 +447,12 @@ PrintPS::begin(Inkscape::Extension::Print *mod, SPDocument *doc) << d.y0 << " " << d.x1 << " " << d.y1 << "\n"; - os << "%%DocumentMedia: plain " - << (int) ceil(_width) << " " - << (int) ceil(_height) << " " - << "0 () ()\n"; + if (!epsexport) { + os << "%%DocumentMedia: plain " + << (int) ceil(_width) << " " + << (int) ceil(_height) << " " + << "0 () ()\n"; + } } os << "%%EndComments\n"; |
