You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "J Frank (Jira)" <ji...@apache.org> on 2021/08/20 12:09:00 UTC

[jira] [Comment Edited] (FOP-2794) Image overlaps text.

    [ https://issues.apache.org/jira/browse/FOP-2794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17402172#comment-17402172 ] 

J Frank edited comment on FOP-2794 at 8/20/21, 12:08 PM:
---------------------------------------------------------

Did you try using apache fop 2.6 , as I am not able to reproduce in fop 2.6?


was (Author: jagruti.frank@gmail.com):
Did you try using apache fop 4.4, as I am not able to reproduce in fop 4.4?

> 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
>            Priority: Major
>
> 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
(v8.3.4#803005)