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

Jeff Skaistis commented on PDFBOX-3237:
---------------------------------------

I don't know if not reading the final '>' will cause problems in decoding since 
I was only using it for encoding. For PDF reading streams it might be fine to 
leave it hanging out there.

I do know that the lack of the full terminator in the encoded output does cause 
issues. I was attempting to use it to write out native PostScript, but I 
suspect other PDF reader implementations could also have issues with the 
incorrect terminator sequence.

> ASCII85Filter does not use or recognize the correct end-of-data terminator
> --------------------------------------------------------------------------
>
>                 Key: PDFBOX-3237
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3237
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing, Writing
>    Affects Versions: 2.0.0
>            Reporter: Jeff Skaistis
>
> The ASCII85Filter and underlying stream implementations use a single tilde 
> (~) as the terminator. The specified Adobe ASCII85 terminator sequence for 
> both PDF and PostScript is ~>. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to