[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 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 bobs@sagehill.net ----- Original Message ----- From: "Stefan Seefeld" <seefeld@sympatico.ca> To: <docbook-apps@lists.oasis-open.org> 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: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]