DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16772>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

Different JRE versions' affect on extent/margin(s)

           Summary: Different JRE versions' affect on extent/margin(s)
           Product: Fop
           Version: 0.20.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: awt renderer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


[This bug affects fop-0.20.4 & 0.20.5rc]

Java 1.3.1_04 requires more space for region-before & region-after than Java
1.4.1_01. If I use the 1.4.1 extents/margin(s) with 1.3.1, I get a "Some static
text did not fit" error, which prints on the next page (if there is one--FOPpers
know the drill :-). If I use the 1.3.1 extents/margin(s) with 1.4.1, I end up
with incorrect region-before/after, leaving 1-2cm of white-space around region-body.

My problem is that I have clients who use wide-ranging JREs using my templates.

Excerpts from Java 1.3.1 & 1.4.1 versions of my .fo files for testing:

** Java 1.3.1 **
<fo:layout-master-set>
  <fo:simple-page-master master-name="repeating" page-height="28cm"
page-width="22cm" margin-top="1cm" margin-bottom="1.3cm" margin-left="1cm"
margin-right="1cm">
    <fo:region-body margin-bottom="7.1cm" margin-top="8.3cm"/>
    <fo:region-before extent="8.3cm"/>
    <fo:region-after extent="7.1cm"/>
  </fo:simple-page-master>
  <fo:page-sequence-master master-name="repeating_pm">
    <fo:repeatable-page-master-reference master-name="repeating"/>
  </fo:page-sequence-master>
</fo:layout-master-set>

** Java 1.4.1 **
<fo:layout-master-set>
  <fo:simple-page-master master-name="repeating" page-height="28cm"
page-width="22cm" margin-top="1cm" margin-bottom="1.3cm" margin-left="1cm"
margin-right="1cm">
    <fo:region-body margin-bottom="6.6cm" margin-top="7.4cm"/>
    <fo:region-before extent="7.4cm"/>
    <fo:region-after extent="6.6cm"/>
  </fo:simple-page-master>
  <fo:page-sequence-master master-name="repeating_pm">
    <fo:repeatable-page-master-reference master-name="repeating"/>
  </fo:page-sequence-master>
</fo:layout-master-set>

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

Reply via email to