Hello,
I have a PDF rendering problem using FOP 0.95. It occurs with a
fo:external-graphic nested inside of a fo:block that is itself nested
inside at least two fo:inline elements. See the attached "good.pdf"
output for what I would expect and the "bad.pdf" output for what
actually happens. The "test.fo.xml" file is a XML-FO example file that
will produce the bad rendering.
Notice that removing either the fo:block or the second fo:inline
element will fix the problem.
I know that this is rather weird formatting to begin with, but
unfortunately I have no easy way to prevent it from being generated
this way. I'm wondering if this may be fixed on the trunk or if
someone can suggest a work around.
Thank you,
- Frank
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="
http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master page-width="8.5in" page-height="11in" master-name="default-page">
<fo:region-body margin="0.4in"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="document">
<fo:repeatable-page-master-reference master-reference="default-page"/>
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="document">
<fo:flow flow-name="xsl-region-body">
<fo:block>
<fo:block>
<fo:inline>
This is some text above.
</fo:inline>
</fo:block>
<fo:block>
<fo:inline>
<fo:inline> <!-- Removing this extra fo:inline fixes the problem. -->
<fo:block> <!-- Removing this fo:block also fixes the problem. -->
<fo:external-graphic src="image.jpg" content-width="50%" content-height="50%"/>
</fo:block>
</fo:inline>
</fo:inline>
</fo:block>
<fo:block>
<fo:inline>
This is some text below.
</fo:inline>
</fo:block>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
---------------------------------------------------------------------
To unsubscribe, e-mail:
fop-users-unsubscribe@...
For additional commands, e-mail:
fop-users-help@...