[jira] [Assigned] (FOP-2845) File leak to background-image

2019-07-27 Thread Matthias Reischenbacher (JIRA)


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

Matthias Reischenbacher reassigned FOP-2845:


Assignee: Matthias Reischenbacher

> File leak to background-image
> -
>
> Key: FOP-2845
> URL: https://issues.apache.org/jira/browse/FOP-2845
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.3
>Reporter: Björn Kautler
>Assignee: Matthias Reischenbacher
>Priority: Major
>
> I use FOP from within my Gradle build to produce documentation PDFs.
> So the VM usually is not closed, but the Gradle Daemon that executes the 
> build stays alive.
> I built some PDF and then tried to delete the folder as it was just a test, 
> but one file was still locked by the Gradle process, so FOP seems to leak 
> that file resource.
> It was the {{draft.png}} that is set as {{background-image}} in this snippet.
> Also interesting, this page master was not even used, so it is even more 
> suspicious why the file was opened for reading at all, but that it stays 
> locked is pretty unnice.
> {code:xml}
>  margin-bottom="0cm" margin-top="0cm" page-height="297mm" page-width="210mm" 
> master-name="my-titlepage-first-draft">
>        column-gap="12pt"
>    margin-top="0cm"
>    margin-bottom="0cm"
>    
> background-image="url(../../common/images/decorative/draft.png)"
>    background-attachment="fixed"
>    background-repeat="no-repeat"
>    background-position-horizontal="center"
>    background-position-vertical="center"/>
>     region-name="xsl-region-before-first"/>
>     region-name="xsl-region-after-first"/>
> 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Resolved] (FOP-2855) [PATCH] When using letter-spacing and white-space=pre inline elements after multiple spaces are sligthly moved to the right

2019-07-27 Thread Matthias Reischenbacher (JIRA)


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

Matthias Reischenbacher resolved FOP-2855.
--
Resolution: Fixed

Thanks, [~juani15151]! Committed in 
http://svn.apache.org/viewvc?view=revision=1863872.

> [PATCH] When using letter-spacing and white-space=pre inline elements after 
> multiple spaces are sligthly moved to the right
> ---
>
> Key: FOP-2855
> URL: https://issues.apache.org/jira/browse/FOP-2855
> Project: FOP
>  Issue Type: Bug
>  Components: layout/inline
>Affects Versions: trunk
>Reporter: Juan
>Assignee: Matthias Reischenbacher
>Priority: Trivial
> Attachments: issue.png, issue.xml, issue_after_fix1.png, 
> issue_fix.patch, issue_fix_2.patch, issue_fixed.png
>
>
> Inline elements inside code elements, that use white-space=pre and 
> letter-spacing > 0 (e.g. 1pt) are slightly moved to the right.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Resolved] (FOP-2875) [PATCH] basic-link to a file or an embedded file breaks if filename contains a parenthesis

2019-07-27 Thread Matthias Reischenbacher (JIRA)


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

Matthias Reischenbacher resolved FOP-2875.
--
Resolution: Fixed

Thanks for your patch, [~esclim]! I combined it with a fix for attachment name 
collisions. When using two attachment with similar names, that contain 
non-ascii chars e.g. täst, töst, only one of the attachments was added to the 
PDF file.

http://svn.apache.org/viewvc?view=revision=1863870

> [PATCH]  basic-link to a file or an embedded file breaks if filename contains 
> a parenthesis
> ---
>
> Key: FOP-2875
> URL: https://issues.apache.org/jira/browse/FOP-2875
> Project: FOP
>  Issue Type: Bug
>  Components: renderer/pdf
>Reporter: Eric Lim
>Assignee: Matthias Reischenbacher
>Priority: Minor
> Attachments: paren3.patch, test-case.fo
>
>
> The following FO snippet
> {code:java}
> The link 
> to some file{code}
> produces the following PDF snippet
> {code:java}
> <<
> /S /JavaScript
> /JS (this.exportDataObject({cName:"some(paren.pdf", nLaunch:2});)
> >>{code}
> This PDF action is broken because the parenthesis are not escaped.
> The correct output should be
> {code:java}
> <<
> /S /JavaScript
> /JS (this.exportDataObject\({cName:"some\(paren.pdf", nLaunch:2}\);)
> >>{code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Resolved] (FOP-2743) [PATCH] fo:basic-link external-destinations fails when target URIs contains unbalanced parenthesis

2019-07-27 Thread Matthias Reischenbacher (JIRA)


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

Matthias Reischenbacher resolved FOP-2743.
--
Resolution: Fixed

Fixed as part of FOP-2875.

> [PATCH] fo:basic-link external-destinations fails when target URIs contains 
> unbalanced parenthesis
> --
>
> Key: FOP-2743
> URL: https://issues.apache.org/jira/browse/FOP-2743
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.2
>Reporter: Eric Lim
>Assignee: Matthias Reischenbacher
>Priority: Major
> Attachments: FOP-2688-unbalanced-paren.fo, FOP-2743.patch, 
> simple_[report]_(version2.pdf
>
>
> 7 0 obj
> << /URI (simple_%5Breport%5D_(version2.pdf)
> /S /URI >>
> endobj
> It should be,
> 7 0 obj
> << /URI (simple_%5Breport%5D_(version2.pdf)
> /S /URI >>
> endobj



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Assigned] (FOP-2743) [PATCH] fo:basic-link external-destinations fails when target URIs contains unbalanced parenthesis

2019-07-27 Thread Matthias Reischenbacher (JIRA)


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

Matthias Reischenbacher reassigned FOP-2743:


Assignee: Matthias Reischenbacher

> [PATCH] fo:basic-link external-destinations fails when target URIs contains 
> unbalanced parenthesis
> --
>
> Key: FOP-2743
> URL: https://issues.apache.org/jira/browse/FOP-2743
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.2
>Reporter: Eric Lim
>Assignee: Matthias Reischenbacher
>Priority: Major
> Attachments: FOP-2688-unbalanced-paren.fo, FOP-2743.patch, 
> simple_[report]_(version2.pdf
>
>
> 7 0 obj
> << /URI (simple_%5Breport%5D_(version2.pdf)
> /S /URI >>
> endobj
> It should be,
> 7 0 obj
> << /URI (simple_%5Breport%5D_(version2.pdf)
> /S /URI >>
> endobj



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Assigned] (FOP-2875) [PATCH] basic-link to a file or an embedded file breaks if filename contains a parenthesis

2019-07-27 Thread Matthias Reischenbacher (JIRA)


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

Matthias Reischenbacher reassigned FOP-2875:


Assignee: Matthias Reischenbacher

> [PATCH]  basic-link to a file or an embedded file breaks if filename contains 
> a parenthesis
> ---
>
> Key: FOP-2875
> URL: https://issues.apache.org/jira/browse/FOP-2875
> Project: FOP
>  Issue Type: Bug
>  Components: renderer/pdf
>Reporter: Eric Lim
>Assignee: Matthias Reischenbacher
>Priority: Minor
> Attachments: paren3.patch, test-case.fo
>
>
> The following FO snippet
> {code:java}
> The link 
> to some file{code}
> produces the following PDF snippet
> {code:java}
> <<
> /S /JavaScript
> /JS (this.exportDataObject({cName:"some(paren.pdf", nLaunch:2});)
> >>{code}
> This PDF action is broken because the parenthesis are not escaped.
> The correct output should be
> {code:java}
> <<
> /S /JavaScript
> /JS (this.exportDataObject\({cName:"some\(paren.pdf", nLaunch:2}\);)
> >>{code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)