File: 04_cmyk.patch

package info (click to toggle)
libpdfbox-java 1%3A0.7.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 27,316 kB
  • ctags: 18,061
  • sloc: java: 38,032; xml: 2,650; sh: 48; jsp: 27; makefile: 12
file content (21 lines) | stat: -rw-r--r-- 909 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Author: <gregor+debian@comodo.priv.at>
Description: use the color profile from the scribus package instead of the (non-free)
color profile in ./Resources/colorspace-profiles
--- libpdfbox-java.orig/src/org/pdfbox/pdmodel/graphics/color/PDDeviceCMYK.java
+++ libpdfbox-java/src/org/pdfbox/pdmodel/graphics/color/PDDeviceCMYK.java
@@ -106,7 +106,7 @@
             InputStream profile = null;
             try
             {
-                profile = ResourceLoader.loadResource( "Resources/colorspace-profiles/CMYK.pf" );
+                profile = ResourceLoader.loadResource( "/usr/lib/scribus/profiles/GenericCMYK.icm" );
                 ICC_Profile iccProfile = ICC_Profile.getInstance( profile );
                 cSpace = new ICC_ColorSpace( iccProfile );
             }
@@ -134,4 +134,4 @@
     {
         throw new IOException( "Not implemented" );
     }
-}
\ No newline at end of file
+}