Ok, attaching a sample document.

What I want is for the square with the text 'moon' to stay like it is
but the text in it ('moon', duh) should be rotated 90 degrees
counter-clockwise. So that the whole thing looks like the squares with
'star' and 'sun' in them but rotated 90 degrees counter-clockwise.

As mentioned before, neither inkscape 0.42, firefox 1.5 or sodipodi
0.34-0.1 or GLIPSGrafitti1.4 manages to render the thing correctly (or
as I would expect) on ubuntu 5.11

When I try to accomplish the same thing in the programs mentioned they
all use a transform matrix instead, but frankly I don't understand that
one at all. If you could point me to somewhere where I could have it
explained in a easier way than at
http://www.w3.org/TR/SVG11/coords.html#EstablishingANewUserSpace maybe
that'll be the way to go.

/Tomas

mån 2006-04-10 klockan 17:27 +0000 skrev syraq:
> --- In [email protected], "Tomas Sanchez Romani"
> <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> > 
> > > You can add the x and y offset in the rotation;
> > > &lt;text x=&quot;477&quot; y=&quot;188&quot;
> transform=&quot;rotate(-45
> > 477 188)&quot;&gt;Hello world&lt;/text&gt;
> > 
> > I've tried that, but it doesn't do the trick. Only the first
> character get's
> > rotated the correct angle, the other 2 characters get rotated evenly
> on the
> > 360 degrees.
> > 
> > I'm using millimeters as the unit (since I'm doing a document that's
> > supposed to get printed on an A4-psper)
> > 
> > Could this mess things up? If so, how could I transform mm to px
> (without
> > knowing beforehand the dpi of the users screen?)
> > 
> 
> Not that I know of but then again, I have never used mm as a unit in
> an SVG. Can you post an example code so we can have a look?
> 
> > >
> > > As you see, the rotation attribute accepts angle and x- and
> > > y-translation. You just need to know where you put the text in your
> > > coordinate system.
> > 
> > I've even tried using the transform="translate(x, y) rotate(angle)
> > traanslate(-x, -y)" notation that I saw is the equivalent of
> > transform="rotate(angle, cx, cy)" over at the spec at w3.org
> > 
> > /Tomas
> > > --- In [email protected], &quot;Tomas Sanchez
> Romani&quot;
> > > tsr.offentlig@ wrote:
> > > &gt;
> > > &gt; Hi,
> > > &gt;
> > > &gt; I'm trying to rotate a text in a svg-image and can't get it
> right.
> > > &gt;
> > > &gt; Either I get the text rotated from the document X=0 and Y=0
> point or
> > > I get
> > > &gt; (by adding the cx and cy vars to the transform attribute) the
> first
> > > &gt; character rotated my wanted angle and the rest some to my random
> > angle.
> > > &gt;
> > > &gt; What I want to accomplish seems to me (a noob) quite easy and
> > straight
> > > &gt; forward, but I just can't get it to happen. Help please.
> > > &gt;
> > > &gt; I'm using straight svg (from text-files, generated from php),
> > > inkscape and
> > > &gt; sodipodi (on ubuntu breezy badger 5.11).
> > > &gt;
> > > &gt; /Tomas
> > > &gt;
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > -----
> > > To unsubscribe send a message to:
> > [EMAIL PROTECTED]
> > > -or-
> > > visit http://groups.yahoo.com/group/svg-developers and click
> &quot;edit my
> > membership&quot;
> > > ----
> > > Yahoo! Groups Links
> > >
> > > &lt;*&gt; To visit your group on the web, go to:
> > >     http://groups.yahoo.com/group/svg-developers/
> > >
> > > &lt;*&gt; To unsubscribe from this group, send an email to:
> > >     [EMAIL PROTECTED]
> > >
> > > &lt;*&gt; Your use of Yahoo! Groups is subject to:
> > >     http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> 
> 
> 
> 
> 
> 
> 
> -----
> To unsubscribe send a message to: [EMAIL PROTECTED]
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit my 
> membership"
> ---- 
> Yahoo! Groups Links
> 
> 
> 
>  
> 


[Non-text portions of this message have been removed]



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to