• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Meaning of NSFont italicAngle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Meaning of NSFont italicAngle?
      • From: Henry McGilton <email@hidden>
  • Prev by Date: Re: NSBezierPath clipRect confusion
  • Next by Date: Re: NSBezierPath clipRect confusion
  • Previous by thread: Re: NSBezierPath clipRect confusion
  • Next by thread: Re: Meaning of NSFont italicAngle?
  • Index(es):
    • Date
    • Thread