[ https://issues.apache.org/jira/browse/TIKA-2620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16418961#comment-16418961 ]
Nick Burch commented on TIKA-2620: ---------------------------------- Do you know why Oracle haven't set that by default? If there's no good reason for it to not be set by default, I'm happy with us putting it in PDFParser. If there is a good reason, maybe just put it in the Tika App and Server, but leave it off for normal Java users to decide themselves? > Set sys property to get better rendering speed by default > --------------------------------------------------------- > > Key: TIKA-2620 > URL: https://issues.apache.org/jira/browse/TIKA-2620 > Project: Tika > Issue Type: Task > Reporter: Tim Allison > Priority: Trivial > > After upgrading to PDFBox 2.0.9, we now get a logged warning: > {noformat} > INFO To get higher rendering speed on JDK8 or later, > INFO use the option > -Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider > INFO or call System.setProperty("sun.java2d.cmm", > "sun.java2d.cmm.kcms.KcmsServiceProvider") > {noformat} > Unless there are objections, I'll add a static call to the PDFParser to > {{System.setProperty...}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)