OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: svg images, html, v5


 From Bobs book I have

<mediaobject id="MousePicture">
<imageobject role="fo">
<imagedata format="SVG" fileref="mouse.svg"/>
</imageobject>
<imageobject role="html">
<imagedata format="PNG" fileref="mouse.png"/>
</imageobject>
</mediaobject>

 From my svg I have
<svg width="916pt" height="446pt"
  viewBox="0.00 0.00 916.00 446.00" xmlns="http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink";>

I combine this to create


<imagedata format="SVG" fileref="sys.svg" width="1433" depth="698"/>



The rendered HTML shows about 1/4 of the image in a scroll box,
which is in a table with strange sizing?

<table border="0"
    summary="manufactured viewport for HTML img" cellspacing="0"
    cellpadding="0" width="1433">

  <tr style="height: 698px">
    <td><object
       data="../sys.svg"
       type="image/svg+xml"
       height="698">
       </object>
     </td>
    </tr>
   </table>


Am I missing something on the sizing?

Rendered in Firefox btw.

regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]