Re: shapes with text



Hi,

Thank you very much for your reply and your work. I still have to study
the details to see how this is different from what I made working but it
looks very interesting.

Have a nice weekend,
Frits

On Thu, May 31, 2012 at 09:49:36PM +0200, Hans Breuer wrote:
At 25.05.2012 17:22, John Bollenbacher wrote:
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:

Attached an udate version of you shape, which should work with
current master and the Dia-0.97.2 release. It is like Dia 0.97.1
would have exported the shape file.

See https://bugzilla.gnome.org/show_bug.cgi?id=676959 for more information.

-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it.                -- Dilbert

<?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 - whitetext2</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; font-size: 0.8" x="21.45" y="20.3" textLength="1.085">text</svg:text>
  </svg:svg>
</shape>

_______________________________________________
dia-list mailing list
dia-list gnome org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia





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