Riju Boruah created FOP-2794:
--------------------------------

             Summary: Image overlaps text. 
                 Key: FOP-2794
                 URL: https://issues.apache.org/jira/browse/FOP-2794
             Project: FOP
          Issue Type: Bug
          Components: fo/block, fo/inline
    Affects Versions: 2.2
            Reporter: Riju Boruah


I have an fo file with a text block followed by two empty lines and a external 
graphic reference to a local png file. With fop 2.2 APIs, in the result pdf the 
image is overlapping the previous text line. 
I was using fop version 0.20.5 where i am not facing this issue. 

<fo:block start-indent="0pt" end-indent="0pt" text-indent="0pt" 
text-align="start" line-height="14.75pt">
    <fo:inline font-family="Times Roman, serif" font-size="12pt">This line get 
overlapped by the below image</fo:inline>
</fo:block>
<fo:block line-height="14.75pt">
    <fo:leader line-height="14.75pt"/>
</fo:block>
<fo:block line-height="14.75pt">
    <fo:leader line-height="14.75pt"/>
</fo:block>
<fo:block start-indent="0pt" end-indent="0pt" text-indent="0pt" 
text-align="start" line-height="14.75pt">
    <fo:external-graphic content-height="62.58pt" content-width="128.77pt" 
height="62.58pt" scaling="non-uniform" src="url(./images_dir/image.png)" 
width="128.77pt"/>
</fo:block>



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to