PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3475

*** shadow/3475 Thu Sep  6 14:17:43 2001
--- shadow/3475.tmp.6526        Sun Sep  9 03:27:57 2001
***************
*** 2,9 ****
  | Large images cause PDF generation to run out of memory                     |
  +----------------------------------------------------------------------------+
  |        Bug #: 3475                        Product: Fop                     |
! |       Status: NEW                         Version: all                     |
! |   Resolution:                            Platform: PC                      |
  |     Severity: Major                    OS/Version: Windows NT/2K           |
  |     Priority: Other                     Component: images                  |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | Large images cause PDF generation to run out of memory                     |
  +----------------------------------------------------------------------------+
  |        Bug #: 3475                        Product: Fop                     |
! |       Status: RESOLVED                    Version: all                     |
! |   Resolution: FIXED                      Platform: PC                      |
  |     Severity: Major                    OS/Version: Windows NT/2K           |
  |     Priority: Other                     Component: images                  |
  +----------------------------------------------------------------------------+
***************
*** 19,22 ****
  that page so it keeps trying until the VM runs out of memory.
  
  This even happens if a max-width and max-height are specified on the external 
! graphic.
--- 19,39 ----
  that page so it keeps trying until the VM runs out of memory.
  
  This even happens if a max-width and max-height are specified on the external 
! graphic.
! 
! ------- Additional Comments From [EMAIL PROTECTED]  2001-09-09 03:27 -------
! The problem was that the code to check the height of the page was looking at 
! the full page height and not the height of the body which is the available 
! area. This caused the height to allways be too big and therefore the scaling 
! did not take place. The following change solves this.
! 
! org/apache/fop/fo/flow/ExternalGraphic.java
! Line 147 old: int pageHeight = area.getPage().getHeight();
! Line 147 new: int pageHeight = area.getPage().getBody().getMaxHeight() - 
! spaceBefore;
! 
! I do not have access to change the source in CVS can someone do this.
! 
! Cheers,
! Paul
! [EMAIL PROTECTED]

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


Reply via email to