xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52514] New: Square image not scaled
Date Tue, 24 Jan 2012 09:58:09 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52514

             Bug #: 52514
           Summary: Square image not scaled
           Product: Fop
           Version: all
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: svg
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: klearchos.klearchou@eurodyn.com
    Classification: Unclassified


When a square image is used and the *-progression-dimension.maximum are equal,
then the image fails to scale and it overflows the box limits.

For example this would reproduce the problem:

      <fo:block>
        <fo:external-graphic src="url(file:///D:/dev/fop/src/fo/300x300.JPG)"
            inline-progression-dimension.maximum="50mm"
            content-width="scale-down-to-fit"
            block-progression-dimension.maximum="50mm"
            content-height="scale-down-to-fit"
            border="solid 5pt red"/>
      </fo:block>


Workaround:
Different values for *-p-d.maximum give expected result.
Even minor changes to the dimension would resolve the issue.
For example in the previous code if one of the progression-dimension.maximum
was set to 50.01mm the image would scale correctly.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message