You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Eric Lim (JIRA)" <ji...@apache.org> on 2017/01/05 19:21:58 UTC

[jira] [Updated] (FOP-2676) [PATCH] basic-link external-destination does not work for file URI with spaces.

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

Eric Lim updated FOP-2676:
--------------------------
    Description: 
For example:
<fo:basic-link external-destination="file:///C:/temp/simple%20report.docx" text-decoration="underline">simple report</fo:basic-link>

Fails to find the correct target because the PDF link is
<< /Type /Filespec /F (/C:/temp/simple%20report.docx) >>

It should be
<< /Type /Filespec /F (C:/temp/simple report.docx) >>

  was:
For example:
<fo:basic-link external-destination="file:///C:/temp/simple%20report.docx" text-decoration="underline">simple report</fo:basic-link>

Fails to find the correct target because the PDF link is
<< /Type /Filespec /F (/C:/temp/simple%20report.docx) >>

It should be
<< /Type /Filespec /F (/C:/temp/simple report.docx) >>


> [PATCH] basic-link external-destination does not work for file URI with spaces.
> -------------------------------------------------------------------------------
>
>                 Key: FOP-2676
>                 URL: https://issues.apache.org/jira/browse/FOP-2676
>             Project: FOP
>          Issue Type: Bug
>          Components: renderer/pdf
>    Affects Versions: trunk, 2.1
>            Reporter: Eric Lim
>         Attachments: PDFFactory.java.patch, external_link_uri.fo, original.pdf, patched.pdf
>
>
> For example:
> <fo:basic-link external-destination="file:///C:/temp/simple%20report.docx" text-decoration="underline">simple report</fo:basic-link>
> Fails to find the correct target because the PDF link is
> << /Type /Filespec /F (/C:/temp/simple%20report.docx) >>
> It should be
> << /Type /Filespec /F (C:/temp/simple report.docx) >>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)