Meaning of NSFont italicAngle?
Meaning of NSFont italicAngle?
- Subject: Meaning of NSFont italicAngle?
- From: Thomas Lachand-Robert <email@hidden>
- Date: Wed, 3 Nov 2004 23:15:11 +0100
Hi all,
I would like to know the true meaning of italicAngle for a NSFont. The
doc says:
- (float)italicAngle
Returns the receiver’s italic angle, the amount that the font is
slanted in degrees clockwise from the vertical, as read from its AFM
file.
but this is probably wrong, as for Times-Italic or Helvetica-Italic, it
returns -1.5 or -1.2. Since this is negative, it is a counterclockwise
angle. And 1.5 degree is a very small angle, so it's probably not that
(but in radians, it's too much!). Could it be the tangent of the angle?
Thanks,
Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet à la chose. >> Molière, Tartuffe.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden