It seems to have a problem with the viewBox on the top level.#

Try putting it on an svg element below the top level.

On Wed, 27 Jun 2001 10:38:42 Thorsten Weiler wrote:
> I'm very sorry but this does not work either. Within the svg-element
> width
> and height determines the area the graphic may use and viewBox determines
> the
> size of the graphic, right?
> Example:
>        <fo:block>some text...
>          <fo:instream-foreign-object>
>            <svg xmlns="http://www.w3.org/2000/svg"; width="60" height="20"
> viewBox="0 0 125 125" xml:space="preserve">            
>              <rect x="0" y="0" width="125" height="125"
> style="fill:yellow"
> />
>              <path style="fill:red" d="M 75,10 L 25,60 L 125,60 z"/>
>              <text x="10" y="20" style="font-size:18;
> font-family:Verdana">Stretch to fit</text>
>            </svg>
>          </fo:instream-foreign-object>
>          with an image between...
>       </fo:block>
> 
> But instead of scaling the graphic into the available area of 60 x 20
> pixels
> I only see the upper right corner of the graphic, 60 x 20 pixels
> respectively.
> 
> What's wrong?
> 
> So, here is my last call for any hints or solutions. Maybe you could send
> me
> an example that works.
> 
> Thanks a lot!
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to