Next in thread → Next in month →

Re: [docbook-apps] HOWTO scale svg images

From
Bob Stayton <>
Date
2009-01-02T23:48:25+00:00
ID
008501c96d34$90182c00$6700a8c0@pazu
Thread
Re: [docbook-apps] HOWTO scale svg images
The width and depth attributes set the viewport size, so your results are 
not surprising.  The contentwidth and contentdepth attributes set the image 
size.  See:

http://www.sagehill.net/docbookxsl/ImageSizing.html

Bob Stayton
Sagehill Enterprises



----- Original Message ----- 
From: "Stefan Seefeld" <>
To: <>
Sent: Thursday, January 01, 2009 11:04 AM
Subject: [docbook-apps] HOWTO scale svg images


> I'm embedding SVG images in my docbook article / slides. I'd like to 
> control the size of the graphic, but I don't get the expected result in 
> xhtml output: Instead of having the graphic scale to the desired size, I 
> get a correctly sized viewport (with scrollbars) through which I see the 
> graphic in its original size.
>
> The stylesheets generate a <table> element containing the <object>. 
> Without the table I would get what I want, i.e. the graphic itself would 
> scale. But with it only the viewport scales.
>
> (I have tried both, the 'scale' as well as the 'width' attribute to the 
> imagedata element.)
>
> Am I missing something ?
>
> Thanks,
>       Stefan
>
> -- 
>
>      ...ich hab' noch einen Koffer in Berlin...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>
Next in thread → Next in month →