[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] db5 svg images
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".
On 12/16/2010 7:33 AM, Dave Pawson wrote:
>
> I have
> <mediaobject>
> <imageobject>
> <imagedata fileref="images/pages.clock.svg" format="SVG"
> width="436" depth="398"/> </imageobject>
> <textobject>
> <phrase>A clock diagram</phrase>
> </textobject>
>
> </mediaobject>
>
> It renders well on Firefox 3.6
> Yet when I build I get the message
> [java] Failed to interpret image: images/pages.clock.svg
>
> Is the message incorrect or ... is it something else?
>
>
>
>
> regards
> ------------------------
> Dave Pawson
> http://www.dpawson.co.uk
> XSLT, XSL-FO and docbook FAQ
>
>
>
--
------------
Steve Johnson, Senior Content Developer
Caringo
stevej@caringo.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]