Problem with text drawing element

Hi all,

I have a problem with shapes that use the text drawing element. My dia version is 0.97.1 on XP. I am using 
the following shape (borrowed from

<?xml version="1.0" encoding="UTF-8"?> 
<shape xmlns=""; xmlns:svg="";>
  <name>Shape - Simple test</name>
    <point x="0" y="0.5"/>
    <point x="0" y="1.5"/>
    <point x="4" y="1"/>
  <aspectratio type="fixed"/>
  <!-- <svg:svg width="4" height="2"> -->
    <svg:line x1="0" y1="0.5" x2="1" y2="0.5"/>
    <svg:line x1="0" y1="1.5" x2="1" y2="1.5"/>
    <svg:line x1="3" y1="1" x2="4" y2="1"/>
    <svg:rect x="1" y="0" width="2" height="2"/>
    <svg:text style="font-size: 0.6" x="0.5" y="0.4" textLength="0.29">1</svg:text>
    <svg:text style="fill: font-size: 0.6" x="0.5" y="1.4" textLength="0.29">2</svg:text>
    <svg:text style="font-size: 0.6" x="3.25" y="0.9" textLength="0.29">3</svg:text>

If I insert this shape only one time in my drawing then everything is OK. If I insert it two or more times 
then the text elements (in this case the "1", "2", "3") appear in wrong positions and far away from the 
mother shape.



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