xsl-list
[Top] [All Lists]

XSL-FO scaling embedded SVG

2003-09-25 10:40:47
I'm just getting my feet wet with XSL-FO. I have created a document using FOP 
that embeds an SVG file which I would like to shrink a little. I have tried 
using the 'inline-progression-dimension' and 'block-progression-dimension' 
attributes (see below). While the document is sucessfully created with the SVG 
embedded, the scaling does not seem to be working. Is this a FOP peculiarity, 
or am I missing something about scaling that's causing this?
Thanks.


<fo:external-graphic inline-progression-dimension="2in" 
block-progression-dimension="1in" content-width="scale-to-fit" 
content-height="scale-to-fit" src="url(H:\workinprogres\svg\dial-guage.svg)"/>
-- 
Charles Knell
cknell(_at_)onebox(_dot_)com - email

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>