chrisg      2002/11/11 10:30:15

  Modified:    .        Tag: fop-0_20_2-maintain CHANGES
               src/org/apache/fop/image Tag: fop-0_20_2-maintain
                        JpegImage.java
  Log:
  Fixed problem with jpegs with icc profile and acrobat reader 5 (Bug #11301)
  Submitted by: Stephan Neuhaus <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.10.2.26 +2 -0      xml-fop/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/xml-fop/CHANGES,v
  retrieving revision 1.10.2.25
  retrieving revision 1.10.2.26
  diff -u -r1.10.2.25 -r1.10.2.26
  --- CHANGES   11 Nov 2002 11:03:27 -0000      1.10.2.25
  +++ CHANGES   11 Nov 2002 18:30:15 -0000      1.10.2.26
  @@ -1,6 +1,8 @@
   ==============================================================================
   Done since 0.20.4 release
   
  +- Fixed problem with jpegs with icc profile and acrobat reader 5 (Bug #11301)
  +  Submitted by: Stephan Neuhaus <[EMAIL PROTECTED]>
   - Fix bug in LinkSet.mergeLinks() (ArrayOutOfBoundsException when number of 
     rects is zero) (Jeremias Maerki)
   - Removed the necessity for a buildtools.jar (Jeremias Maerki)
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +2 -6      xml-fop/src/org/apache/fop/image/JpegImage.java
  
  Index: JpegImage.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/JpegImage.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- JpegImage.java    2 Dec 2001 22:17:29 -0000       1.1.2.1
  +++ JpegImage.java    11 Nov 2002 18:30:15 -0000      1.1.2.2
  @@ -124,11 +124,7 @@
                               int chunkSize = calcBytes(this.m_bitmaps[index + 2],
                                                         this.m_bitmaps[index + 3]) + 
2;
   
  -                            if (iccStream.size() == 0)
  -                                iccStream.write(this.m_bitmaps, index+18, chunkSize 
- 20);
  -                            else
  -                                iccStream.write(this.m_bitmaps, index+16, chunkSize 
- 18); // eller 18..
  -
  +                            iccStream.write(this.m_bitmaps, index+16, chunkSize - 
18); // eller 18..
                           }
   
                           index += calcBytes(this.m_bitmaps[index + 2],
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to