Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2794

Image overlaps text.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: fo/block, fo/inline
    • Labels:
      None

      Description

      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>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              riju.boruah.in@gmail.com Riju Boruah
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: