[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3377) iText's p:image ignores dpi
arne anka (JIRA)
jira-events at lists.jboss.org
Thu Sep 4 05:17:38 EDT 2008
iText's p:image ignores dpi
---------------------------
Key: JBSEAM-3377
URL: https://jira.jboss.org/jira/browse/JBSEAM-3377
Project: Seam
Issue Type: Bug
Components: PDF
Affects Versions: 2.0.2.SP1
Environment: jboss 4.2.2.GA
Reporter: arne anka
i got a pdf with 600dpi and a size of 1427x1311px.
according to simple math and gimp that means a physical size of 2.38x2.18in or 6x5.5cm, which would easily fit onto an A4 page.
but the rendered A4 pdf shows only a part of the image since it does not fit.
i append the image and the pdf.
my xhtml is below, note that setting dpi="600 600" does make _no_ difference!
<p:document xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://jboss.com/products/seam/pdf"
pageSize="A4">
<p:image alignment="center" dpi="600 600" value="/img/foo.png" />
</p:document>
i am strongly interested in a workaround.
--
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