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
+}
|