You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2010/05/01 14:42:58 UTC

[jira] Issue Comment Edited: (PDFBOX-716) right parenthess are not handled properly in bookmarks

    [ https://issues.apache.org/jira/browse/PDFBOX-716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863015#action_12863015 ] 

Andreas Lehmkühler edited comment on PDFBOX-716 at 5/1/10 8:41 AM:
-------------------------------------------------------------------

Instead of reverting peters patch I've fixed it with version 939998.

Thanks for the bug report

      was (Author: lehmi):
    Instead of reverting peters patch I've fixed it with version 939998.
  
> right parenthess are not handled properly in bookmarks
> ------------------------------------------------------
>
>                 Key: PDFBOX-716
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-716
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>         Environment: Windows Vista 32-bit, Java 1.5.0_06, PDFBox HEAD tag (revision 939870)
>            Reporter: Adam Nichols
>             Fix For: 1.2.0
>
>         Attachments: parentheses_fail.pdf, PDFBOX-276_removal.patch
>
>
> Bookmarks with a right parenthesis are not parsed correctly.  Instead of a right parenthesis ")", a backslash "\" is output.  For example "(L(I((S)P)))" becomes "(L(I((S\P\\\".
> I'm attaching a file which demonstrates the issue.  Sample code segment to reproduce this:
> doc = PDDocument.load(inputFile);
> PDDocumentOutline root = doc.getDocumentCatalog().getDocumentOutline();
> if(root != null) {
>     PDOutlineItem item = root.getFirstChild();
>     System.out.println("title = " + item.getTitle());
> }
> I'll post a patch if I can figure out where this issue lies.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.