Sg2.9
Text Rotations
Recent RSS
Text Rotations
Date:  20. June 2010, 20:00

Don't know if this qualifies as a bug, but I just noticed a fault in the reference section.

In Typography > Style > CharacterStyle the code for the rotation property seems to be wrong.

text.characterStyle.rotation = (45).toRadians();

This will actually only yield a rotation of about 0.79º
More correct results will be given if the .toRadians() is left out.

Re: Text Rotations
From:  Jürg Lehni
Date:  21. June 2010, 12:38

That's interesting! It might be that the Adobe API uses degrees instead of radians internally. So much to Adobe API consistency... I shall test and change the Sg API accordingly to also use radians there.

Re: Text Rotations
From:  Jürg Lehni
Date:  24. November 2010, 17:17

Håkan, this now uses the same settings as the rest of the API, depending on what script.angleUnits is set to.

Scripts
08.01.12, 08:40
08.01.12, 08:18
04.01.12, 11:04
28.12.11, 10:42
16.11.11, 09:40
28.10.11, 10:47
Posts
06.02.12, 16:27
04.02.12, 16:55
04.02.12, 16:32
04.02.12, 12:49
03.02.12, 22:33
03.02.12, 17:24
Script of the Moment
Newton Curve 08.09.11
Donation

If you use Scriptographer regularly or for commercial purposes, please consider making a donation via PayPal:

Thank you!