shapes with text



Are there any known issues with creating shapes which contain text?  I have had success creating shapes with just a box or a box plus a .jpeg, however a box containing text shows up as an invisible shape (though the icon looks as expected).  Here is the shape that appears blank:
 
---------------------------------------------------------------------------------
 

<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
  <name>bidbox - whitetext</name>
  <icon>whitetext.png</icon>
  <connections>
    <point x="11.2" y="12.95"/>
    <point x="31.7" y="27.65"/>
    <point x="11.2" y="27.65"/>
    <point x="11.2" y="20.3"/>
    <point x="31.7" y="12.95"/>
    <point x="31.7" y="20.3"/>
    <point x="21.45" y="27.65"/>
    <point x="21.45" y="12.95"/>
  </connections>
  <aspectratio type="fixed"/>
  <svg:svg>
    <svg:rect style="fill: #ffffff" x="11.2" y="12.95" width="20.5" height="14.7"/>
    <svg:rect style="fill: none; fill-opacity:0; stroke-width: 0.25; stroke: #000000" x="11.2" y="12.95" width="20.5" height="14.7"/>
    <svg:text style="fill: #000000; text-anchor:start; font-family: sans; font-style: normal; font-weight: normal" x="21.45" y="20.3" font-size="0.8" textLength="1.085">text</svg:text>
  </svg:svg>
</shape>
 

 

-------------------------------------------------------------------------------

 

Any help would be appreciated.

 

Thanks, John



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]