shape and fonts in windows



Hallo!

I'm only a dia-user in windows (We are checking for change...) I
want to make a new list of objects. Everey object is one shape and
one png as icon.

I drawn in OOo Draw and exported to SVG. I deleted the header with
text editor. I changed the tags by search and replace "<" to "<svg:"
and "</" to "/svg:". I cut the result and paste in shape. The
rectangles a.s.o. are ok. The text looks bigger then the draw.

Is there a way easyer and better to go?

deleted header:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";><svg
version="1.1" viewBox="0 0 21000 29700"
preserveAspectRatio="xMidYMid" fill-rule="evenodd"
xmlns="http://www.w3.org/2000/svg";
xmlns:xlink="http://www.w3.org/1999/xlink";>

new shape:
<?xml version="1.0"?>
<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns";
             xmlns:svg="http://www.w3.org/2000/svg";>
  <name>ViTex</name>
  <description>ViTex</description>
  <icon>ViTex.png</icon>
  <connections>
    <point x="0" y="0"/>
  </connections>
  <svg:svg>
    <svg:defs>
      <svg:font id="EmbeddedFont_1" horiz-adv-x="2048">
      <svg:font-face font-family="Arial embedded"
units-per-em="2048" ascent="1852" descent="450"/>
      <svg:missing-glyph....
      ..
  </svg:svg>
</shape>








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