You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ms...@apache.org on 2015/11/14 19:10:42 UTC

pdfbox-docs git commit: PDFBOX-3030: rendering with Java 8

Repository: pdfbox-docs
Updated Branches:
  refs/heads/master e31253344 -> 30cc3b072


PDFBOX-3030: rendering with Java 8


Project: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/commit/30cc3b07
Tree: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/tree/30cc3b07
Diff: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/diff/30cc3b07

Branch: refs/heads/master
Commit: 30cc3b072aa546896b66fc76a15cdf8c5b9bdce6
Parents: e312533
Author: Maruan Sahyoun <sa...@fileaffairs.de>
Authored: Sat Nov 14 19:09:56 2015 +0100
Committer: Maruan Sahyoun <sa...@fileaffairs.de>
Committed: Sat Nov 14 19:09:56 2015 +0100

----------------------------------------------------------------------
 content/2.0/migration.md | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/30cc3b07/content/2.0/migration.md
----------------------------------------------------------------------
diff --git a/content/2.0/migration.md b/content/2.0/migration.md
index ba60201..3550b46 100644
--- a/content/2.0/migration.md
+++ b/content/2.0/migration.md
@@ -118,6 +118,18 @@ document.close();
 
 `ImageIOUtil` has been moved into the `org.apache.pdfbox.tools.imageio` package.
 
+<p class="alert alert-warning">Important notice when using PDFBox with Java 8
+</p>
+Due to the change of the java color management module towards "LittleCMS", users can experience slow performance in color operations.
+Solution: disable LittleCMS in favour of the old KCMS (Kodak Color Management System):
+
+- start with ``-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider``or call
+- ``System.setProperty("sun.java2d.cmm", "sun.java2d.cmm.kcms.KcmsServiceProvider");``
+
+Sources:  
+http://www.subshell.com/en/subshell/blog/Wrong-Colors-in-Images-with-Java8-100.html  
+https://bugs.openjdk.java.net/browse/JDK-8041125
+
 ### PDF Printing
 With PDFBox 2.0.0 `PDFPrinter` has been removed.