I haven't gotten around to trying out svgweb [1] with DocBook content yet, but it looks to me like the most promising solution to the problem.
David [1] http://code.google.com/p/svgweb/ > -----Original Message----- > From: Steve Johnson [mailto:[email protected]] > Sent: Thursday, December 16, 2010 10:44 AM > To: Dave Pawson > Cc: [email protected] > Subject: Re: [docbook-apps] db5 svg images > > SVG viewer is EOL: > > http://www.adobe.com/svg/viewer/install/ > > There could likely be more to it, such as what exact format you do your > SVG in. Adobe Illustrator has 9 or 10 different combinations of > options, > at least. > > On 12/16/2010 10:11 AM, Dave Pawson wrote: > > On Thu, 16 Dec 2010 09:33:31 -0600 > > Steve Johnson<[email protected]> wrote: > > > >> If you're outputting to HTML you should consider doing it like this: > >> > >> <mediaobject> > >> <imageobject role="fo"> > >> <imagedata format="SVG" scale="75" > >> fileref="Graphics/cluster-general.svg" align="center" > >> scalefit="1"/></imageobject> > >> <imageobject role="html"> > >> <imagedata format="PNG" scale="90" > >> fileref="Graphics/cluster-general.png" > align="center"/></imageobject> > >> </mediaobject> > >> > >> I found that IE8 doesn't render SVG at all and Chrome puts a box > >> around each one such that you have horizontal and vertical scroll > >> bars .. but that could be due to the fact our HTML must fit into a > >> 600 pixel horizontal space. > >> > >> You will find the above if you search Stayton's book for "svg". > > > > I can create the png form if needed, but I'm concerned about > > the error (if it is such). > > > > I'm wondering if Bobs pages are out of date here? > > http://www.sagehill.net/docbookxsl/SVGimages.html > > I do recall 'prompting' the IE user to get/install the svg viewer > from > > Adobe. Not sure if that's still available. Then the reader would know > > something was amiss. > > > > > > SVG is so much better than bit-mapped though. > > > > regards > > > > > > > > -- > > ------------ > > Steve Johnson, Senior Content Developer > Caringo > [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
