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 37136] - external-graphic dimensions and rendering
Date Mon, 12 Jun 2006 09:02:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37136>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37136





------- Additional Comments From jeremias@apache.org  2006-06-12 09:02 -------
(In reply to comment #11)
> Specifying the content-width and content-height in a FO document does not render
> the image with the proper dimensions:
> <fo:external-graphic content-height="82px" content-width="294px"
>                  src="http://onjava.com/images/onjava/onjava_logo.jpg"/>
> 

Specifying sizes in pixels is generally bad practice in documents to be printed.
The width of a pixel depends on the resolution used by the interpreting
application. Some use 72dpi, some use 96 dpi as a default. FOP uses 72dpi by
default but that can be changed in the configuration file or on the FopFactory.
If you leave out content-height and content-width the image will be painted at
its natural size.

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

Mime
View raw message