[jira] [Resolved] (PDFBOX-4550) Poor performance with corrupt ToUnicode stream

2019-05-23 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Lehmkühler resolved PDFBOX-4550.

Resolution: Fixed

[~tilman] thanks for double checking

> Poor performance with corrupt ToUnicode stream
> --
>
> Key: PDFBOX-4550
> URL: https://issues.apache.org/jira/browse/PDFBOX-4550
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering, Text extraction
>Affects Versions: 2.0.15
>Reporter: Tilman Hausherr
>Assignee: Andreas Lehmkühler
>Priority: Major
> Fix For: 2.0.16, 3.0.0 PDFBox
>
> Attachments: PDFBOX-3442-DirectResources.pdf, 
> PDFBOX-3442-DirectResources_unc.pdf, pdnekz1gvl7.pdf
>
>
> A confidential file with lots of corrupt streams has ToUnicode stream with 
> corrupt contents in the beginbfrange segment where start and end have 
> different lengths. This leads to poor performance. Such entries can be 
> skipped.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4529) ImageToPDF as Command Line

2019-05-23 Thread Tilman Hausherr (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16846881#comment-16846881
 ] 

Tilman Hausherr commented on PDFBOX-4529:
-

For the problems you mentioned on the mailing list - please create a file named 
"logging.properties" and its content should be this:
{code:java}
handlers=java.util.logging.FileHandler
java.util.logging.FileHandler.level=ALL
java.util.logging.FileHandler.pattern=./pdfbox.log
java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
{code}
Then run the tool with this parameters:
{code:java}
java -Djava.util.logging.config.file=logging.properties -jar 
pdfbox-app-3.0.0-20190523.171638-1257.jar ImageToPDF .arguments…..
{code}
The log content will be in the file "pdfbox.log". Adjust any paths if needed. 
If you don't get any log output then the java tool was neer called. A new jar 
file is available at the bottom of this page:
 
[https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/3.0.0-SNAPSHOT/]

Don't forget to give feedback, because I will revert these changes soon.

> ImageToPDF as Command Line
> --
>
> Key: PDFBOX-4529
> URL: https://issues.apache.org/jira/browse/PDFBOX-4529
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Utilities
>Affects Versions: 2.0.15
>Reporter: Bidouille
>Assignee: Tilman Hausherr
>Priority: Minor
> Fix For: 2.0.16, 3.0.0 PDFBox
>
> Attachments: export_img_pdf.pdf
>
>
> That will be fine to have this method to export image (png, jpg, etc) in PDF 
> file.
> This will take a list of image files and merge them, saving the result in a 
> new document.
> Usage: {{java -jar pdfbox-app-2.y.z.jar ImageToPDF  ..n)> }}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4529) ImageToPDF as Command Line

2019-05-23 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16846870#comment-16846870
 ] 

ASF subversion and git services commented on PDFBOX-4529:
-

Commit 1859812 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1859812 ]

PDFBOX-4529: temporary include log msg with arguments

> ImageToPDF as Command Line
> --
>
> Key: PDFBOX-4529
> URL: https://issues.apache.org/jira/browse/PDFBOX-4529
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Utilities
>Affects Versions: 2.0.15
>Reporter: Bidouille
>Assignee: Tilman Hausherr
>Priority: Minor
> Fix For: 2.0.16, 3.0.0 PDFBox
>
> Attachments: export_img_pdf.pdf
>
>
> That will be fine to have this method to export image (png, jpg, etc) in PDF 
> file.
> This will take a list of image files and merge them, saving the result in a 
> new document.
> Usage: {{java -jar pdfbox-app-2.y.z.jar ImageToPDF  ..n)> }}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4071) Improve code quality (3)

2019-05-23 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16846848#comment-16846848
 ] 

ASF subversion and git services commented on PDFBOX-4071:
-

Commit 1859804 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1859804 ]

PDFBOX-4071: correct javadoc

> Improve code quality (3)
> 
>
> Key: PDFBOX-4071
> URL: https://issues.apache.org/jira/browse/PDFBOX-4071
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.8
>Reporter: Tilman Hausherr
>Priority: Major
> Attachments: pdfbox-screenshot-bad.png, pdfbox-screenshot-good.png
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2852, which was getting too long.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4071) Improve code quality (3)

2019-05-23 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16846846#comment-16846846
 ] 

ASF subversion and git services commented on PDFBOX-4071:
-

Commit 1859803 from Tilman Hausherr in branch 'pdfbox/branches/1.8'
[ https://svn.apache.org/r1859803 ]

PDFBOX-4071: correct javadoc

> Improve code quality (3)
> 
>
> Key: PDFBOX-4071
> URL: https://issues.apache.org/jira/browse/PDFBOX-4071
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.8
>Reporter: Tilman Hausherr
>Priority: Major
> Attachments: pdfbox-screenshot-bad.png, pdfbox-screenshot-good.png
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2852, which was getting too long.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4071) Improve code quality (3)

2019-05-23 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16846850#comment-16846850
 ] 

ASF subversion and git services commented on PDFBOX-4071:
-

Commit 1859806 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1859806 ]

PDFBOX-4071: correct javadoc

> Improve code quality (3)
> 
>
> Key: PDFBOX-4071
> URL: https://issues.apache.org/jira/browse/PDFBOX-4071
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.8
>Reporter: Tilman Hausherr
>Priority: Major
> Attachments: pdfbox-screenshot-bad.png, pdfbox-screenshot-good.png
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2852, which was getting too long.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-Trunk-jdk13 » PDFBox parent #817

2019-05-23 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-Trunk-jdk13 #817

2019-05-23 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox-Trunk-jdk13 #816

2019-05-23 Thread Apache Jenkins Server
See 


Changes:

[tilman] PDFBOX-4551: prevent printing when not authorized

--
[...truncated 418.85 KB...]
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/33/maven-parent-33.pom
 (44 kB at 3.7 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/3.0.1/maven-common-artifact-filters-3.0.1.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/3.0.1/maven-common-artifact-filters-3.0.1.pom
 (4.8 kB at 440 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.11/commons-codec-1.11.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.11/commons-codec-1.11.pom
 (14 kB at 1.4 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/owasp/dependency-check-core/4.0.2/dependency-check-core-4.0.2.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/com/vdurmont/semver4j/2.2.0/semver4j-2.2.0.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/joda-time/joda-time/1.6/joda-time-1.6.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.18/commons-compress-1.18.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar
 (41 kB at 2.7 MB/s)
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/com/vdurmont/semver4j/2.2.0/semver4j-2.2.0.jar
 (27 kB at 1.6 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/commons-io/commons-io/2.6/commons-io-2.6.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/commons/commons-text/1.3/commons-text-1.3.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.18/commons-compress-1.18.jar
 (592 kB at 25 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-core/7.6.0/lucene-core-7.6.0.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/joda-time/joda-time/1.6/joda-time-1.6.jar 
(535 kB at 19 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-analyzers-common/7.6.0/lucene-analyzers-common-7.6.0.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/commons/commons-text/1.3/commons-text-1.3.jar
 (183 kB at 5.9 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-queryparser/7.6.0/lucene-queryparser-7.6.0.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/commons-io/commons-io/2.6/commons-io-2.6.jar
 (215 kB at 6.5 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-queries/7.6.0/lucene-queries-7.6.0.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/owasp/dependency-check-core/4.0.2/dependency-check-core-4.0.2.jar
 (686 kB at 12 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-sandbox/7.6.0/lucene-sandbox-7.6.0.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-queryparser/7.6.0/lucene-queryparser-7.6.0.jar
 (382 kB at 6.7 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/com/h2database/h2/1.4.196/h2-1.4.196.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-queries/7.6.0/lucene-queries-7.6.0.jar
 (265 kB at 4.0 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/glassfish/javax.json/1.0.4/javax.json-1.0.4.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-sandbox/7.6.0/lucene-sandbox-7.6.0.jar
 (278 kB at 3.4 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/jsoup/jsoup/1.11.3/jsoup-1.11.3.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/glassfish/javax.json/1.0.4/javax.json-1.0.4.jar
 (85 kB at 979 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/com/sun/mail/mailapi/1.6.3/mailapi-1.6.3.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-analyzers-common/7.6.0/lucene-analyzers-common-7.6.0.jar
 (1.7 MB at 17 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar
[INFO] Downloaded from 

Build failed in Jenkins: PDFBox-Trunk-jdk13 » PDFBox parent #816

2019-05-23 Thread Apache Jenkins Server
See 


--
[...truncated 236.93 KB...]
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-settings/3.1.0/maven-settings-3.1.0.pom
 (1.8 kB at 141 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-core/3.1.0/maven-core-3.1.0.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-core/3.1.0/maven-core-3.1.0.pom
 (6.9 kB at 533 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-settings-builder/3.1.0/maven-settings-builder-3.1.0.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-settings-builder/3.1.0/maven-settings-builder-3.1.0.pom
 (2.3 kB at 174 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interpolation/1.16/plexus-interpolation-1.16.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interpolation/1.16/plexus-interpolation-1.16.pom
 (1.0 kB at 86 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.pom
 (3.0 kB at 247 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/3.1.0/maven-repository-metadata-3.1.0.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/3.1.0/maven-repository-metadata-3.1.0.pom
 (1.9 kB at 158 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-model-builder/3.1.0/maven-model-builder-3.1.0.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-model-builder/3.1.0/maven-model-builder-3.1.0.pom
 (2.5 kB at 206 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-aether-provider/3.1.0/maven-aether-provider-3.1.0.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-aether-provider/3.1.0/maven-aether-provider-3.1.0.pom
 (3.5 kB at 294 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/eclipse/aether/aether-api/0.9.0.M2/aether-api-0.9.0.M2.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/eclipse/aether/aether-api/0.9.0.M2/aether-api-0.9.0.M2.pom
 (1.7 kB at 158 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/eclipse/aether/aether-spi/0.9.0.M2/aether-spi-0.9.0.M2.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/eclipse/aether/aether-spi/0.9.0.M2/aether-spi-0.9.0.M2.pom
 (1.8 kB at 160 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/eclipse/aether/aether-impl/0.9.0.M2/aether-impl-0.9.0.M2.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/eclipse/aether/aether-impl/0.9.0.M2/aether-impl-0.9.0.M2.pom
 (3.3 kB at 304 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-classworlds/2.4.2/plexus-classworlds-2.4.2.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-classworlds/2.4.2/plexus-classworlds-2.4.2.pom
 (3.5 kB at 319 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-beta-6/wagon-provider-api-1.0-beta-6.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-beta-6/wagon-provider-api-1.0-beta-6.pom
 (1.8 kB at 160 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon/1.0-beta-6/wagon-1.0-beta-6.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon/1.0-beta-6/wagon-1.0-beta-6.pom
 (12 kB at 1.1 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-provider-api/2.10/wagon-provider-api-2.10.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-provider-api/2.10/wagon-provider-api-2.10.pom
 (1.7 kB at 157 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon/2.10/wagon-2.10.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon/2.10/wagon-2.10.pom
 (21 kB at 1.6 MB/s)
[INFO] Downloading from central: