[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3378) iText's p:image does not accept single value for dpi

arne anka (JIRA) jira-events at lists.jboss.org
Thu Sep 4 05:26:38 EDT 2008


iText's p:image does not accept single value for dpi
----------------------------------------------------

                 Key: JBSEAM-3378
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3378
             Project: Seam
          Issue Type: Bug
          Components: PDF
    Affects Versions: 2.0.2.SP1
         Environment: jboss 4.2.2.GA
            Reporter: arne anka


using
<p:image dpi="600" .../>
results in an ArrayIndexOutOfBoundsException 1.
further investigation shows, that it expects 
<p:image dpi="600 600" .../>
since other attributes either come as "width..." and "height..." variety (widthPercentage, heightPercentage) or accept both a single value or a pair (scalePercent), this is unforeseeable and implausible.
one would expect dpi to accept both "600" and "600 600" and sort it out internally.

the attribute is not documented besides simple mentioning.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list