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

http://issues.apache.org/bugzilla/show_bug.cgi?id=42601

           Summary: Image/text misalignment inside before-region tables
           Product: Fop
           Version: 0.93
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: images
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: [EMAIL PROTECTED]


Placing an image and some text inside adjacent cells (same row) of a table makes
the image get "shifted" down, below the point where the text block finishes. Two
adjacent images, or two adjacent text blocks don't exhibit the same behavior.
Important note: this only happens inside the "before" region. The same code
moved into the "body" region works just fine.

To reproduce, add the following to the "before" region, placing a real image
location in the external graphic:

<fo:table>
        <fo:table-column/>
        <fo:table-column/>
        <fo:table-body>
                <fo:table-row>
                        <fo:table-cell>
                                <fo:block>
                                        <fo:external-graphic 
src="SOME_IMAGE_GOES_HERE"/>
                                </fo:block>
                        </fo:table-cell>
                        <fo:table-cell>
                                <fo:block>
                                        This is ASF Bugzilla: the Apache 
Software Foundation bug system. In case of
problems with the functioning of ASF Bugzilla, please contact
[EMAIL PROTECTED] Please Note: this e-mail address is only for
reporting problems with ASF Bugzilla. Mail about any other subject will be
silently ignored.
                                </fo:block>
                        </fo:table-cell>                                
                </fo:table-row>
        </fo:table-body>
</fo:table>

The result will contain the image "shifted" below the end of the text block (as
if in a completely new row, following the one that contains the text).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to