summaryrefslogtreecommitdiff
path: root/patches/dev300/goodies-eps-filter-unix.diff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-01-28 21:26:09 +0100
committerMichael Stahl <mstahl@redhat.com>2012-01-28 21:26:09 +0100
commit7947d959db2a84860cdfd479d95ea5b30fdba051 (patch)
tree4cc2ec4d16ee75d338f85d966b089ca5a0240097 /patches/dev300/goodies-eps-filter-unix.diff
parent2786d0238b25d7bcc1408bb1a45a8f7f4bd1febd (diff)
replace obsolete "master" branch with README that points at new repoHEADmaster-deletedmaster
Diffstat (limited to 'patches/dev300/goodies-eps-filter-unix.diff')
-rw-r--r--patches/dev300/goodies-eps-filter-unix.diff45
1 files changed, 0 insertions, 45 deletions
diff --git a/patches/dev300/goodies-eps-filter-unix.diff b/patches/dev300/goodies-eps-filter-unix.diff
deleted file mode 100644
index 02956a98d..000000000
--- a/patches/dev300/goodies-eps-filter-unix.diff
+++ /dev/null
@@ -1,45 +0,0 @@
----
- filter/source/graphicfilter/eps/eps.cxx | 14 +++++++++++++-
- 1 files changed, 13 insertions(+), 1 deletions(-)
-
-diff --git filter/source/graphicfilter/eps/eps.cxx filter/source/graphicfilter/eps/eps.cxx
-index 4cf73f0..499fc6c 100644
---- filter/source/graphicfilter/eps/eps.cxx
-+++ filter/source/graphicfilter/eps/eps.cxx
-@@ -293,7 +293,11 @@ BOOL PSWriter::WritePS( const Graphic& rGraphic, SvStream& rTargetStream, Filter
- // default values for the dialog options
- mnLevel = 2;
- mbGrayScale = FALSE;
-+#ifdef UNX // don't compress by default on unix as ghostscript is unable to read LZW compressed eps
-+ mbCompression = FALSE;
-+#else
- mbCompression = TRUE;
-+#endif
- mnTextMode = 0; // default0 : export glyph outlines
-
- // try to get the dialog selection
-@@ -310,12 +314,20 @@ BOOL PSWriter::WritePS( const Graphic& rGraphic, SvStream& rTargetStream, Filter
- String aVersionStr( RTL_CONSTASCII_USTRINGPARAM( "Version" ) );
- String aColorStr( RTL_CONSTASCII_USTRINGPARAM( "ColorFormat" ) );
- String aComprStr( RTL_CONSTASCII_USTRINGPARAM( "CompressionMode" ) );
-+#ifdef UNX // don't put binary tiff preview ahead of postscript code by default on unix as ghostscript is unable to read it
-+ mnPreview = pFilterConfigItem->ReadInt32( aPreviewStr, 0 );
-+#else
- mnPreview = pFilterConfigItem->ReadInt32( aPreviewStr, 1 );
-+#endif
- mnLevel = pFilterConfigItem->ReadInt32( aVersionStr, 2 );
- if ( mnLevel != 1 )
- mnLevel = 2;
- mbGrayScale = pFilterConfigItem->ReadInt32( aColorStr, 1 ) == 2;
-- mbCompression = pFilterConfigItem->ReadInt32( aComprStr, 1 ) == 1;
-+#ifdef UNX // don't compress by default on unix as ghostscript is unable to read LZW compressed eps
-+ mbCompression = pFilterConfigItem->ReadInt32( aComprStr, 0 ) != 0;
-+#else
-+ mbCompression = pFilterConfigItem->ReadInt32( aComprStr, 1 ) == 1;
-+#endif
- String sTextMode( RTL_CONSTASCII_USTRINGPARAM( "TextMode" ) );
- mnTextMode = pFilterConfigItem->ReadInt32( sTextMode, 0 );
- if ( mnTextMode > 2 )
---
-1.7.0.1
-