xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17584] New: - Using <fo:block/> to force a line break creates multiple identical output lines
Date Mon, 03 Mar 2003 10:32:08 GMT
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: fop-dev@xml.apache.org
        ReportedBy: jtizard@users.sourceforge.net


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: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Mime
View raw message