[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: fo:instream-foreign-object - fo:table height overf

Subject: Re: fo:instream-foreign-object - fo:table height overflow
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Sun, 25 May 2008 00:03:45 +0200
Re:  fo:instream-foreign-object - fo:table height overf
Peter Rushforth wrote:
<fo:table-row height="9.0in">
[snip]
                      <fo:block>
                         <fo:instream-foreign-object width="11.5in" height="9in">

The problem is that the object is embedded within a line, and you get some space (the half-leading) added to the line height. This can be avoided by setting line-height="0" on the block, there are some other ways as well. You may still run into round-off problems, if so try using height="9.0in + 0.1pt" (yes this should work) on the table row.

I am assuming the resolution of the processor is 72 dpi, so I'm
scaling my graphics into that space.

SVG is vector graphics, and FOP tries to avoid rasterizing it if the target format allows vector graphics, like PDF does. In this case, image resolution is irrelevant.

J.Pietschmann

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.