Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2620

Set sys property to get better rendering speed by default

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 1.18, 2.0.0
    • None
    • None

    Description

      After upgrading to PDFBox 2.0.9, we now get a logged warning:

      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")
      

      Unless there are objections, I'll add a static call to the PDFParser to System.setProperty....

      Attachments

        Activity

          People

            Unassigned Unassigned
            tallison Tim Allison
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: