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

external-graphic dimensions and rendering

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 0.20.5
    • None
    • image/unqualified
    • None
    • Operating System: Windows XP
      Platform: PC
    • 37136

    Description

      ==========================================================================
      Sample1: The image will not be sized to the specified dimensions
      ==========================================================================

      <fo:block-container position="absolute" left="66.00mm" top="72.00mm"
      width="100.00mm" height="75.00mm">
      <fo:block>
      <fo:external-graphic src="file:your_image.jpg" width="100.00mm"
      height="75.00mm"/>
      </fo:block>
      </fo:block-container>

      ==========================================================================
      Sample2: The rendered PDF file fails to load, and fop reports exceptions

      java.lang.RuntimeException: Some content could not fit into a line/page after
      50 attempts. Giving up to avoid an endless loop.
      Exception
      javax.xml.transform.TransformerException: java.lang.RuntimeException: Some
      content could not fit into a line/page after 50 attempts. Giving up to avoid an
      endless loop.

      ==========================================================================

      <fo:block height="75.00mm">
      <fo:external-graphic src="file:your_image.jpg" width="100.00mm"/>
      </fo:block>

      Attachments

        1. bug example.zip
          130 kB
          ninouffff

        Activity

          People

            Unassigned Unassigned
            apache_fop@hotmail.com Rune Johansen
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: