Details
Description
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.