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 2013/08/25 14:47:52 UTC

[jira] [Resolved] (PDFBOX-1696) Bug in org.apache.pdfbox.io.Ascii85OutputStream

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

Andreas Lehmkühler resolved PDFBOX-1696.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
         Assignee: Andreas Lehmkühler

I added some optimizations based on Tilmans proposal in revision 1517273 and 1517281, see PDFBOX-1694 for m,ore details.

Thanks for the contribution!
                
> Bug in org.apache.pdfbox.io.Ascii85OutputStream 	
> -------------------------------------------------
>
>                 Key: PDFBOX-1696
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1696
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Andreas Lehmkühler
>             Fix For: 2.0.0
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> There's a bug in ASCII85OutputStream.java in 
>      public final void write(byte[] b,int off, int sz)
> The effect of the bug is that buffers with length < 3 produce no output. Fix:
> after 
>      if(count < 3) 
>      {
> add this line:
>          flushed = false;
> better: delete the whole function and let the superclass handle it. I doubt that the current implementation saves much time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira