[jira] [Commented] (PDFBOX-4851) Image rendering issue 2

2020-05-29 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr commented on PDFBOX-4851:
-

Reduced file attached. It is some font problem. PDFBox claims that it fails to 
read the postscript table. DTL OTMaster is able to read it. This results in not 
being able to render the glyphs.

> Image rendering issue 2
> ---
>
> Key: PDFBOX-4851
> URL: https://issues.apache.org/jira/browse/PDFBOX-4851
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.19
>Reporter: Daniel Persson
>Priority: Minor
> Attachments: PDFBOX-4851-reduced3.pdf, issue2-pdfbox.jpg, 
> issue2-poppler.jpg, issue2.pdf, mercury.ttf
>
>
> Text is missing in image rendered using PDFToImage.
>  
> Text is present if you render with Poppler instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PDFBOX-4851) Image rendering issue 2

2020-05-29 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr updated PDFBOX-4851:

Attachment: mercury.ttf

> Image rendering issue 2
> ---
>
> Key: PDFBOX-4851
> URL: https://issues.apache.org/jira/browse/PDFBOX-4851
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.19
>Reporter: Daniel Persson
>Priority: Minor
> Attachments: PDFBOX-4851-reduced3.pdf, issue2-pdfbox.jpg, 
> issue2-poppler.jpg, issue2.pdf, mercury.ttf
>
>
> Text is missing in image rendered using PDFToImage.
>  
> Text is present if you render with Poppler instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PDFBOX-4851) Image rendering issue 2

2020-05-29 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr updated PDFBOX-4851:

Attachment: PDFBOX-4851-reduced3.pdf

> Image rendering issue 2
> ---
>
> Key: PDFBOX-4851
> URL: https://issues.apache.org/jira/browse/PDFBOX-4851
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.19
>Reporter: Daniel Persson
>Priority: Minor
> Attachments: PDFBOX-4851-reduced3.pdf, issue2-pdfbox.jpg, 
> issue2-poppler.jpg, issue2.pdf
>
>
> Text is missing in image rendered using PDFToImage.
>  
> Text is present if you render with Poppler instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

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

PDFBOX-4071: SonarQube fix

> 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
(v8.3.4#803005)

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

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

Commit 1878295 from Tilman Hausherr in branch 'pdfbox/branches/issue45'
[ https://svn.apache.org/r1878295 ]

PDFBOX-4071: SonarQube fix

> 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
(v8.3.4#803005)

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

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

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

PDFBOX-4071: SonarQube fix

> 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
(v8.3.4#803005)

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

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

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

PDFBOX-4071: remove unneeded assignment

> 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
(v8.3.4#803005)

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

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

Commit 1878291 from Tilman Hausherr in branch 'pdfbox/branches/issue45'
[ https://svn.apache.org/r1878291 ]

PDFBOX-4071: remove unneeded assignment

> 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
(v8.3.4#803005)

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

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

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

PDFBOX-4071: remove unneeded assignment

> 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
(v8.3.4#803005)

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

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

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

PDFBOX-4071: remove null check, parameter is never null

> 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
(v8.3.4#803005)

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

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

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

PDFBOX-4071: remove null check, parameter is never null

> 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
(v8.3.4#803005)

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

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

Commit 1878287 from Tilman Hausherr in branch 'pdfbox/branches/issue45'
[ https://svn.apache.org/r1878287 ]

PDFBOX-4071: remove null check, parameter is never null

> 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
(v8.3.4#803005)

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

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

Commit 1878286 from Tilman Hausherr in branch 'pdfbox/branches/issue45'
[ https://svn.apache.org/r1878286 ]

PDFBOX-4071: SonarQube fix

> 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
(v8.3.4#803005)

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

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

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

PDFBOX-4071: SonarQube fix

> 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
(v8.3.4#803005)

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

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

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

PDFBOX-4071: SonarQube fix

> 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
(v8.3.4#803005)

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



[jira] [Commented] (PDFBOX-4850) Image rendering issue

2020-05-29 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr commented on PDFBOX-4850:
-

I wonder if this is somehow related to PDFBOX-1958.

> Image rendering issue
> -
>
> Key: PDFBOX-4850
> URL: https://issues.apache.org/jira/browse/PDFBOX-4850
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.19
>Reporter: Daniel Persson
>Priority: Minor
> Attachments: issue-pdfbox.jpg, issue-poppler.jpg, issue.pdf
>
>
> Rendering file using PDFToImage creates a strange result where embedded 
> images aren't rotated or scaled correctly.
>  
> Rendering the same PDF using poppler will create a correct looking output.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Closed] (PDFBOX-4852) Image rendering issue 3

2020-05-29 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr closed PDFBOX-4852.
---
Resolution: Won't Fix

Sadly this is a known problem, java does not support "soft clipping", see also 
in the 
[FAQ|https://pdfbox.apache.org/2.0/faq.html#why-are-some-texts-in-poor-quality-and-not-antialiased]
 at the bottom.

> Image rendering issue 3
> ---
>
> Key: PDFBOX-4852
> URL: https://issues.apache.org/jira/browse/PDFBOX-4852
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 2.0.19
>Reporter: Daniel Persson
>Priority: Minor
> Attachments: issue3-pdfbox.jpg, issue3-poppler.jpg, issue3.pdf
>
>
> Text is unreadable in image rendered using PDFToImage.
>  
> Text is readable if you render with Poppler instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PDFBOX-4849) FlateFilter Inflater leaks

2020-05-29 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr updated PDFBOX-4849:

Affects Version/s: 1.8.16

> FlateFilter Inflater leaks
> --
>
> Key: PDFBOX-4849
> URL: https://issues.apache.org/jira/browse/PDFBOX-4849
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 1.8.16, 2.0.19
>Reporter: Tilman Hausherr
>Assignee: Tilman Hausherr
>Priority: Major
> Fix For: 2.0.20, 3.0.0 PDFBox
>
>
> From Christof Lorenz on the users mailing list
> {quote}
> I saw that the inflater's end() method is being called in 
> FlateFilter.decompress.
> But our tests are showing inflaters not being closed, that were opened by 
> FlateFilter.decompress.
> I think the inflater.end() should be called in a finally block to really 
> close them all.
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (PDFBOX-4849) FlateFilter Inflater leaks

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

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

PDFBOX-4849: avoid Flate leak, as suggested by Christof Lorenz

> FlateFilter Inflater leaks
> --
>
> Key: PDFBOX-4849
> URL: https://issues.apache.org/jira/browse/PDFBOX-4849
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 2.0.19
>Reporter: Tilman Hausherr
>Assignee: Tilman Hausherr
>Priority: Major
> Fix For: 2.0.20, 3.0.0 PDFBox
>
>
> From Christof Lorenz on the users mailing list
> {quote}
> I saw that the inflater's end() method is being called in 
> FlateFilter.decompress.
> But our tests are showing inflaters not being closed, that were opened by 
> FlateFilter.decompress.
> I think the inflater.end() should be called in a finally block to really 
> close them all.
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PDFBOX-4849) FlateFilter Inflater leaks

2020-05-29 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr updated PDFBOX-4849:

Fix Version/s: 1.8.17

> FlateFilter Inflater leaks
> --
>
> Key: PDFBOX-4849
> URL: https://issues.apache.org/jira/browse/PDFBOX-4849
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 1.8.16, 2.0.19
>Reporter: Tilman Hausherr
>Assignee: Tilman Hausherr
>Priority: Major
> Fix For: 1.8.17, 2.0.20, 3.0.0 PDFBox
>
>
> From Christof Lorenz on the users mailing list
> {quote}
> I saw that the inflater's end() method is being called in 
> FlateFilter.decompress.
> But our tests are showing inflaters not being closed, that were opened by 
> FlateFilter.decompress.
> I think the inflater.end() should be called in a finally block to really 
> close them all.
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

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

PDFBOX-4071: update bc

> 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
(v8.3.4#803005)

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



[jira] [Commented] (PDFBOX-4784) Possibility to provide the SecureRandom to SecurityHandler

2020-05-29 Thread Jira


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

Andreas Lehmkühler commented on PDFBOX-4784:


[~tilman] thanks for doublechecking , [~bsanchezb] thanks for the fast fix

> Possibility to provide the SecureRandom to SecurityHandler
> --
>
> Key: PDFBOX-4784
> URL: https://issues.apache.org/jira/browse/PDFBOX-4784
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.19
>Reporter: Pierrick Vandenbroucke
>Assignee: Andreas Lehmkühler
>Priority: Major
> Fix For: 2.0.20, 3.0.0 PDFBox
>
>
> In DSS, we build electronic signatures with two stateless operations 
> (computation of the data to be signed and incorporation of the signature 
> value). Currently, the signature creation fails with encrypted documents 
> (AES) due to the Initialization Vector generations which produce different 
> values at each call.
> We would need a way to "stabilize" this part. We discussed about that on our 
> [issue tracker|https://ec.europa.eu/cefdigital/tracker/browse/DSS-1962] and 
> the idea would be to provide a custom instance of the SecureRandom to the 
> [SecurityHandler|https://github.com/apache/pdfbox/blob/2.0.19/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandler.java#L381].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (PDFBOX-4784) Possibility to provide the SecureRandom to SecurityHandler

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

Commit 1878278 from le...@apache.org in branch 'pdfbox/branches/issue45'
[ https://svn.apache.org/r1878278 ]

PDFBOX-4784: unit test fix as proposed by Aleksandr Beliakov

> Possibility to provide the SecureRandom to SecurityHandler
> --
>
> Key: PDFBOX-4784
> URL: https://issues.apache.org/jira/browse/PDFBOX-4784
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.19
>Reporter: Pierrick Vandenbroucke
>Assignee: Andreas Lehmkühler
>Priority: Major
> Fix For: 2.0.20, 3.0.0 PDFBox
>
>
> In DSS, we build electronic signatures with two stateless operations 
> (computation of the data to be signed and incorporation of the signature 
> value). Currently, the signature creation fails with encrypted documents 
> (AES) due to the Initialization Vector generations which produce different 
> values at each call.
> We would need a way to "stabilize" this part. We discussed about that on our 
> [issue tracker|https://ec.europa.eu/cefdigital/tracker/browse/DSS-1962] and 
> the idea would be to provide a custom instance of the SecureRandom to the 
> [SecurityHandler|https://github.com/apache/pdfbox/blob/2.0.19/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandler.java#L381].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (PDFBOX-4784) Possibility to provide the SecureRandom to SecurityHandler

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

Commit 1878277 from le...@apache.org in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1878277 ]

PDFBOX-4784: unit test fix as proposed by Aleksandr Beliakov

> Possibility to provide the SecureRandom to SecurityHandler
> --
>
> Key: PDFBOX-4784
> URL: https://issues.apache.org/jira/browse/PDFBOX-4784
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.19
>Reporter: Pierrick Vandenbroucke
>Assignee: Andreas Lehmkühler
>Priority: Major
> Fix For: 2.0.20, 3.0.0 PDFBox
>
>
> In DSS, we build electronic signatures with two stateless operations 
> (computation of the data to be signed and incorporation of the signature 
> value). Currently, the signature creation fails with encrypted documents 
> (AES) due to the Initialization Vector generations which produce different 
> values at each call.
> We would need a way to "stabilize" this part. We discussed about that on our 
> [issue tracker|https://ec.europa.eu/cefdigital/tracker/browse/DSS-1962] and 
> the idea would be to provide a custom instance of the SecureRandom to the 
> [SecurityHandler|https://github.com/apache/pdfbox/blob/2.0.19/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandler.java#L381].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (PDFBOX-4784) Possibility to provide the SecureRandom to SecurityHandler

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

Commit 1878276 from le...@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1878276 ]

PDFBOX-4784, closes #85: unit test fix as proposed by Aleksandr Beliakov

> Possibility to provide the SecureRandom to SecurityHandler
> --
>
> Key: PDFBOX-4784
> URL: https://issues.apache.org/jira/browse/PDFBOX-4784
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.19
>Reporter: Pierrick Vandenbroucke
>Assignee: Andreas Lehmkühler
>Priority: Major
> Fix For: 2.0.20, 3.0.0 PDFBox
>
>
> In DSS, we build electronic signatures with two stateless operations 
> (computation of the data to be signed and incorporation of the signature 
> value). Currently, the signature creation fails with encrypted documents 
> (AES) due to the Initialization Vector generations which produce different 
> values at each call.
> We would need a way to "stabilize" this part. We discussed about that on our 
> [issue tracker|https://ec.europa.eu/cefdigital/tracker/browse/DSS-1962] and 
> the idea would be to provide a custom instance of the SecureRandom to the 
> [SecurityHandler|https://github.com/apache/pdfbox/blob/2.0.19/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandler.java#L381].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[GitHub] [pdfbox] asfgit closed pull request #85: PDFBOX-4784: fix

2020-05-29 Thread GitBox


asfgit closed pull request #85:
URL: https://github.com/apache/pdfbox/pull/85


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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



[jira] [Commented] (PDFBOX-4784) Possibility to provide the SecureRandom to SecurityHandler

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

Commit 1878275 from le...@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1878275 ]

PDFBOX-4784: javadoc fix

> Possibility to provide the SecureRandom to SecurityHandler
> --
>
> Key: PDFBOX-4784
> URL: https://issues.apache.org/jira/browse/PDFBOX-4784
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.19
>Reporter: Pierrick Vandenbroucke
>Assignee: Andreas Lehmkühler
>Priority: Major
> Fix For: 2.0.20, 3.0.0 PDFBox
>
>
> In DSS, we build electronic signatures with two stateless operations 
> (computation of the data to be signed and incorporation of the signature 
> value). Currently, the signature creation fails with encrypted documents 
> (AES) due to the Initialization Vector generations which produce different 
> values at each call.
> We would need a way to "stabilize" this part. We discussed about that on our 
> [issue tracker|https://ec.europa.eu/cefdigital/tracker/browse/DSS-1962] and 
> the idea would be to provide a custom instance of the SecureRandom to the 
> [SecurityHandler|https://github.com/apache/pdfbox/blob/2.0.19/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandler.java#L381].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (PDFBOX-4784) Possibility to provide the SecureRandom to SecurityHandler

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

Commit 1878274 from le...@apache.org in branch 'pdfbox/branches/issue45'
[ https://svn.apache.org/r1878274 ]

PDFBOX-4784: javadoc fix

> Possibility to provide the SecureRandom to SecurityHandler
> --
>
> Key: PDFBOX-4784
> URL: https://issues.apache.org/jira/browse/PDFBOX-4784
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.19
>Reporter: Pierrick Vandenbroucke
>Assignee: Andreas Lehmkühler
>Priority: Major
> Fix For: 2.0.20, 3.0.0 PDFBox
>
>
> In DSS, we build electronic signatures with two stateless operations 
> (computation of the data to be signed and incorporation of the signature 
> value). Currently, the signature creation fails with encrypted documents 
> (AES) due to the Initialization Vector generations which produce different 
> values at each call.
> We would need a way to "stabilize" this part. We discussed about that on our 
> [issue tracker|https://ec.europa.eu/cefdigital/tracker/browse/DSS-1962] and 
> the idea would be to provide a custom instance of the SecureRandom to the 
> [SecurityHandler|https://github.com/apache/pdfbox/blob/2.0.19/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandler.java#L381].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (PDFBOX-4784) Possibility to provide the SecureRandom to SecurityHandler

2020-05-29 Thread ASF subversion and git services (Jira)


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

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

Commit 1878273 from le...@apache.org in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1878273 ]

PDFBOX-4784: javadoc fix

> Possibility to provide the SecureRandom to SecurityHandler
> --
>
> Key: PDFBOX-4784
> URL: https://issues.apache.org/jira/browse/PDFBOX-4784
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.19
>Reporter: Pierrick Vandenbroucke
>Assignee: Andreas Lehmkühler
>Priority: Major
> Fix For: 2.0.20, 3.0.0 PDFBox
>
>
> In DSS, we build electronic signatures with two stateless operations 
> (computation of the data to be signed and incorporation of the signature 
> value). Currently, the signature creation fails with encrypted documents 
> (AES) due to the Initialization Vector generations which produce different 
> values at each call.
> We would need a way to "stabilize" this part. We discussed about that on our 
> [issue tracker|https://ec.europa.eu/cefdigital/tracker/browse/DSS-1962] and 
> the idea would be to provide a custom instance of the SecureRandom to the 
> [SecurityHandler|https://github.com/apache/pdfbox/blob/2.0.19/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandler.java#L381].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PDFBOX-4852) Image rendering issue 3

2020-05-29 Thread Daniel Persson (Jira)


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

Daniel Persson updated PDFBOX-4852:
---
Attachment: issue3.pdf
issue3-pdfbox.jpg
issue3-poppler.jpg

> Image rendering issue 3
> ---
>
> Key: PDFBOX-4852
> URL: https://issues.apache.org/jira/browse/PDFBOX-4852
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 2.0.19
>Reporter: Daniel Persson
>Priority: Minor
> Attachments: issue3-pdfbox.jpg, issue3-poppler.jpg, issue3.pdf
>
>
> Text is unreadable in image rendered using PDFToImage.
>  
> Text is readable if you render with Poppler instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Created] (PDFBOX-4852) Image rendering issue 3

2020-05-29 Thread Daniel Persson (Jira)
Daniel Persson created PDFBOX-4852:
--

 Summary: Image rendering issue 3
 Key: PDFBOX-4852
 URL: https://issues.apache.org/jira/browse/PDFBOX-4852
 Project: PDFBox
  Issue Type: Bug
Affects Versions: 2.0.19
Reporter: Daniel Persson
 Attachments: issue3-pdfbox.jpg, issue3-poppler.jpg, issue3.pdf

Text is unreadable in image rendered using PDFToImage.

 

Text is readable if you render with Poppler instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Created] (PDFBOX-4851) Image rendering issue 2

2020-05-29 Thread Daniel Persson (Jira)
Daniel Persson created PDFBOX-4851:
--

 Summary: Image rendering issue 2
 Key: PDFBOX-4851
 URL: https://issues.apache.org/jira/browse/PDFBOX-4851
 Project: PDFBox
  Issue Type: Bug
  Components: Rendering
Affects Versions: 2.0.19
Reporter: Daniel Persson
 Attachments: issue2-pdfbox.jpg, issue2-poppler.jpg, issue2.pdf

Text is missing in image rendered using PDFToImage.

 

Text is present if you render with Poppler instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PDFBOX-4851) Image rendering issue 2

2020-05-29 Thread Daniel Persson (Jira)


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

Daniel Persson updated PDFBOX-4851:
---
Attachment: issue2.pdf
issue2-poppler.jpg
issue2-pdfbox.jpg

> Image rendering issue 2
> ---
>
> Key: PDFBOX-4851
> URL: https://issues.apache.org/jira/browse/PDFBOX-4851
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.19
>Reporter: Daniel Persson
>Priority: Minor
> Attachments: issue2-pdfbox.jpg, issue2-poppler.jpg, issue2.pdf
>
>
> Text is missing in image rendered using PDFToImage.
>  
> Text is present if you render with Poppler instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (PDFBOX-4784) Possibility to provide the SecureRandom to SecurityHandler

2020-05-29 Thread Aleksandr Beliakov (Jira)


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

Aleksandr Beliakov commented on PDFBOX-4784:


Hello [~tilman] ,

 

Good catch, indeed there was a problem on a step of CMSSignedData creation, the 
signing time for which has been instantiated on every call. Therefore, if you 
was not lucky to execute the test during one second, the test failed.

I added a fix for that: 
[https://github.com/apache/pdfbox/pull/85/commits/0a88aded0b33c06c41d8fb52d2782f3b64548f47]
 in order to skip this step, because the CMSSignedData is not really needed for 
the test (the main PDF document content integrity is important). Also I've 
added a fix for JavaDoc.

 

I hope this helps.

 

Regards,

Aleksandr.

> Possibility to provide the SecureRandom to SecurityHandler
> --
>
> Key: PDFBOX-4784
> URL: https://issues.apache.org/jira/browse/PDFBOX-4784
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.19
>Reporter: Pierrick Vandenbroucke
>Assignee: Andreas Lehmkühler
>Priority: Major
> Fix For: 2.0.20, 3.0.0 PDFBox
>
>
> In DSS, we build electronic signatures with two stateless operations 
> (computation of the data to be signed and incorporation of the signature 
> value). Currently, the signature creation fails with encrypted documents 
> (AES) due to the Initialization Vector generations which produce different 
> values at each call.
> We would need a way to "stabilize" this part. We discussed about that on our 
> [issue tracker|https://ec.europa.eu/cefdigital/tracker/browse/DSS-1962] and 
> the idea would be to provide a custom instance of the SecureRandom to the 
> [SecurityHandler|https://github.com/apache/pdfbox/blob/2.0.19/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandler.java#L381].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PDFBOX-4850) Image rendering issue

2020-05-29 Thread Daniel Persson (Jira)


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

Daniel Persson updated PDFBOX-4850:
---
Issue Type: Bug  (was: Improvement)

> Image rendering issue
> -
>
> Key: PDFBOX-4850
> URL: https://issues.apache.org/jira/browse/PDFBOX-4850
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.19
>Reporter: Daniel Persson
>Priority: Minor
> Attachments: issue-pdfbox.jpg, issue-poppler.jpg, issue.pdf
>
>
> Rendering file using PDFToImage creates a strange result where embedded 
> images aren't rotated or scaled correctly.
>  
> Rendering the same PDF using poppler will create a correct looking output.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PDFBOX-4850) Image rendering issue

2020-05-29 Thread Daniel Persson (Jira)


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

Daniel Persson updated PDFBOX-4850:
---
Attachment: issue.pdf
issue-pdfbox.jpg
issue-poppler.jpg

> Image rendering issue
> -
>
> Key: PDFBOX-4850
> URL: https://issues.apache.org/jira/browse/PDFBOX-4850
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.19
>Reporter: Daniel Persson
>Priority: Minor
> Attachments: issue-pdfbox.jpg, issue-poppler.jpg, issue.pdf
>
>
> Rendering file using PDFToImage creates a strange result where embedded 
> images aren't rotated or scaled correctly.
>  
> Rendering the same PDF using poppler will create a correct looking output.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Created] (PDFBOX-4850) Image rendering issue

2020-05-29 Thread Daniel Persson (Jira)
Daniel Persson created PDFBOX-4850:
--

 Summary: Image rendering issue
 Key: PDFBOX-4850
 URL: https://issues.apache.org/jira/browse/PDFBOX-4850
 Project: PDFBox
  Issue Type: Improvement
  Components: Rendering
Affects Versions: 2.0.19
Reporter: Daniel Persson
 Attachments: issue-pdfbox.jpg, issue-poppler.jpg, issue.pdf

Rendering file using PDFToImage creates a strange result where embedded images 
aren't rotated or scaled correctly.

 

Rendering the same PDF using poppler will create a correct looking output.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[GitHub] [pdfbox] bsanchezb opened a new pull request #85: Pdfbox 4784 fix

2020-05-29 Thread GitBox


bsanchezb opened a new pull request #85:
URL: https://github.com/apache/pdfbox/pull/85


   Fixed the unit test + javadoc
   
   See : https://github.com/apache/pdfbox/pull/83



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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