[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3377) iText's p:image ignores dpi

Norman Richards (JIRA) jira-events at lists.jboss.org
Mon Aug 3 16:34:29 EDT 2009

    [ https://jira.jboss.org/jira/browse/JBSEAM-3377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12478687#action_12478687 ] 

Norman Richards commented on JBSEAM-3377:

Hmm - as far as I can tell, I'm calling iText with the correct values.  We'll need to investigate some to see if it is an iText bug or a usage problem on our part.  

> 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
>            Assignee: Norman Richards
>         Attachments: foo.pdf, foo.png
> 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