FOP
  1. FOP
  2. FOP-1073

external-graphic dimensions and rendering

    Details

    • Type: Bug Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 0.20.5
    • Fix Version/s: None
    • Component/s: image/unqualified
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC
    • External issue ID:
      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>

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Rune Johansen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development