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

Graphic scaling scale-to-fit Not working as expected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.5
    • None
    • image/unqualified
    • None
    • Operating System: other
      Platform: Other
    • 37815

    Description

      When scaling an external graphic using

      <fo:external-graphic src="file:../graphics/ltcwidth.jpg" width="100%"
      content-width="scale-to-fit" content-height="100%"/>

      So that graphics that are too wide are scaled down but graphics that fit remain
      unscaled it does not operate as expected.

      Graphics that are too wide are invalidated
      Graphics the should not be scaled are streched to fit the width only.

      Attachments

        1. fop.diff
          0.9 kB
          Tom
        2. after.pdf
          79 kB
          Tom
        3. before.pdf
          79 kB
          Tom
        4. fopbugeg.zip
          96 kB
          Tom

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            tom@craddock.id.au Tom
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: