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=17584>.
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=17584

Using <fo:block/> to force a line break creates multiple identical output  lines

           Summary: Using <fo:block/> to force a line break creates multiple
                    identical output  lines
           Product: Fop
           Version: 0.20.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: pdf renderer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The FO code below attempts to render the words 'Here is a line break' with a
forced newline after 'Here'.  The HTML equivalent would be 'Here <br/> is a line
break'
The newline is created with an empty <fo:block/>, which seems to be a common
technique.

This code works fine with  0.20.3 0.20.4...

But under 0.20.5rc2 it repeats the whole line twice with no line break after
'Here' - ie
Here is a line break
Here is a line break.
I have replicated this behaviour on two Red Hat systems using this and other
(larger) test documents.

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  <fo:layout-master-set>                                     
    <fo:simple-page-master master-name="only">
      <fo:region-body 
        region-name="xsl-region-body"         
        margin="1in"  padding="6pt" />
      <fo:region-before 
        region-name="xsl-region-before" 
        extent="1in"  />
      <fo:region-after 
        region-name="xsl-region-after" 
        extent="1in" />
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence 
    master-reference="only">                  

    <fo:flow flow-name="xsl-region-body">
      <fo:block>Here<fo:block/> is a line break</fo:block>              
    </fo:flow>
  </fo:page-sequence>
</fo:root>

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

Reply via email to