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
26.04.12, 16:05
19.04.12, 16:54
07.04.12, 16:17
05.04.12, 00:49
15.03.12, 13:02
14.02.12, 19:00
Posts
21.05.12, 22:40
20.05.12, 20:22
19.05.12, 21:38
19.05.12, 13:43
15.05.12, 02:38
15.05.12, 01:51
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!