Re: +[NSFont fontWithName:matrix:] broken in Tiger?
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