/[debian]/libpdfbox-java/trunk/debian/patches/04_cmyk.dpatch
ViewVC logotype

Contents of /libpdfbox-java/trunk/debian/patches/04_cmyk.dpatch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 743 - (show annotations)
Thu May 17 20:20:44 2007 UTC (13 years, 9 months ago) by gregoa
File size: 1269 byte(s)
use the cmyk color profile from scribus instead of the non-free one in ./Resources/colorspace-profiles
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 04_cmyk.dpatch by <gregor+debian@comodo.priv.at>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: use the color profile from the scribus package instead of the (non-free)
6 ## color profile in ./Resources/colorspace-profiles
7
8 @DPATCH@
9 diff -urNad libpdfbox-java~/src/org/pdfbox/pdmodel/graphics/color/PDDeviceCMYK.java libpdfbox-java/src/org/pdfbox/pdmodel/graphics/color/PDDeviceCMYK.java
10 --- libpdfbox-java~/src/org/pdfbox/pdmodel/graphics/color/PDDeviceCMYK.java 2007-05-17 22:17:07.000000000 +0200
11 +++ libpdfbox-java/src/org/pdfbox/pdmodel/graphics/color/PDDeviceCMYK.java 2007-05-17 22:18:28.000000000 +0200
12 @@ -106,7 +106,7 @@
13 InputStream profile = null;
14 try
15 {
16 - profile = ResourceLoader.loadResource( "Resources/colorspace-profiles/CMYK.pf" );
17 + profile = ResourceLoader.loadResource( "/usr/lib/scribus/profiles/GenericCMYK.icm" );
18 ICC_Profile iccProfile = ICC_Profile.getInstance( profile );
19 cSpace = new ICC_ColorSpace( iccProfile );
20 }
21 @@ -134,4 +134,4 @@
22 {
23 throw new IOException( "Not implemented" );
24 }
25 -}
26 \ No newline at end of file
27 +}

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26