You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Aaron Optimizer Digulla <di...@hepe.com> on 2001/02/06 18:05:19 UTC

Re: [fop-dev] [BUG] problem with scaling and fo:external-graphic

On Wed, Jan 31, 2001 at 10:41:46AM +0100, Torben Nielsen wrote:

> Hi All
> 
> I have a queation regarding the use of scaling fo:external-graphic !
> 
> No matter the size of the image I want it to be displayed no larger than the 
> size of the blok-container.
> 
> I have tryed using stuft like : (content-height="scale-to-fit" content-width="scale-to-fit" scaling="uniform" scaling-method="auto)
> 
> What am I doing wrong ???

Scaling doesn't work; it doesn't even work when you reference an SVG
in an SVG, ie. the attribute "transform" of svg:svg is ignored
and when I put the SVG in a g element, the transform is still
ignored :-(

The only solution ATM seems to be to copy the SVG file and scale
it and then then include that.

-- 
==============================================
Sowatec AG,       CH-8330 Pfäffikon (ZH)
Witzbergstr. 7,   http://www.sowatec.com
Tel: +41-(0)1-952 55 55
Fax: +41-(0)1-952 55 66
----------------------------------------------
Aaron "Optimizer" Digulla, digulla@sowatec.com
==============================================

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org