Thank you for your answer.
> Unfortunately, I know too little SVG to be able to tell off-hand what
> the expected result is if the viewbox is too small to fit the content
> (clipping?)
I am not sure this is the proper way to put it but according to me,
the overflowing content is hidden. You can only see through the viewbox...
just as if you were looking through a keyhole.
"scale-to-fit" works well with an "external-graphic" fo element:
========================================================
<fo:external-graphic content-height="scale-to-fit"
content-width="scale-to-fit"
scaling="non-uniform"
height="4cm"
width="4cm" src="an_image.jpg"/>
========================================================
But unfortunately, it doesn't work when I use an i-f-o with "svg:svg",
"svg:g", "svg:line"
elements inside.
Thank you for your explanations about "uniform", "non-uniform", the
specification without units,
auto value for "content-width" and "content-height" and "scale-down-to-fit".
Do you think there could be a restriction?
The impossibility to scale an svg group of elements to fit a i-f-o with
fixed dimensions?
Any other ideas?
Thank you very much for your help.
(i-f-o = instream-foreign-object)
--
Lmhelp
--
View this message in context:
http://www.nabble.com/scale-to-fit%2C-svg-group-tp19517624p19519558.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]