--- In [email protected], "Tomas Sanchez Romani" <[EMAIL PROTECTED]> wrote: > > Hi, > > > You can add the x and y offset in the rotation; > > <text x="477" y="188" transform="rotate(-45 > 477 188)">Hello world</text> > > 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], "Tomas Sanchez Romani" > > tsr.offentlig@ wrote: > > > > > > Hi, > > > > > > I'm trying to rotate a text in a svg-image and can't get it right. > > > > > > Either I get the text rotated from the document X=0 and Y=0 point or > > I get > > > (by adding the cx and cy vars to the transform attribute) the first > > > character rotated my wanted angle and the rest some to my random > angle. > > > > > > What I want to accomplish seems to me (a noob) quite easy and > straight > > > forward, but I just can't get it to happen. Help please. > > > > > > I'm using straight svg (from text-files, generated from php), > > inkscape and > > > sodipodi (on ubuntu breezy badger 5.11). > > > > > > /Tomas > > > > > > > > > > > > > > > > > > > ----- > > 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/ > > > > > > > > > > > > > > > ----- 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/

