• 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
Re: +[NSFont fontWithName:matrix:] broken in Tiger?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: +[NSFont fontWithName:matrix:] broken in Tiger?


  • Subject: Re: +[NSFont fontWithName:matrix:] broken in Tiger?
  • From: Izidor Jerebic <email@hidden>
  • Date: Tue, 30 Aug 2005 11:52:56 +0200


On Aug 30, 2005, at 11:38 AM, Izidor Jerebic wrote:

As the subject says, my application uses +[NSFont fontWithName:matrix:] and it seems that anything but identity matrix is ignored by Cocoa in Tiger. E.g. if you specify horizontally scaled matrix, the font object which is returned by this method has no scaling (only m[0] and m[3] are non-zero elements of the resulting matrix).

I meant to say that those two elements are equal, e.g. if you passs the [60,0,0,12,0,0] matrix (horizontally scaled by 5), you get back NSFont with [12,0,0,12,0,0] matrix - no scaling at all.


If you pass any other nonzero elements besides m[0] and m[3], they are ignored, it seems (in the result only non-zero items are m[0] and m[3], and they are always identical).


izidor

_______________________________________________
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: +[NSFont fontWithName:matrix:] broken in Tiger?
      • From: Aki Inoue <email@hidden>
References: 
 >+[NSFont fontWithName:matrix:] broken in Tiger? (From: Izidor Jerebic <email@hidden>)

  • Prev by Date: +[NSFont fontWithName:matrix:] broken in Tiger?
  • Next by Date: Re: Problem with converting an NSImage to grayscale
  • Previous by thread: +[NSFont fontWithName:matrix:] broken in Tiger?
  • Next by thread: Re: +[NSFont fontWithName:matrix:] broken in Tiger?
  • Index(es):
    • Date
    • Thread