[Mono-osx] NSFont.UserFontOfSize() patch

Maxi Combina maxi.combina at passwordbank.com
Tue May 24 06:00:12 EDT 2011


Hi,

as per Apple documentation [1], the method NSfont.userFontOfSize: is static.
In the current API it is not marked as such, I attach the patch to correct
this.

I have tested this and it works just fine.

Maxi

[1]
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSFont_Class/Reference/Reference.html%23//apple_ref/occ/clm/NSFont/userFontOfSize
:

-- 
*Maxi Combina*
Cell:+1 408 300 3614
Tel:  +1 408 524 1579
440 N. Wolfe Road. Sunnyvale. CA. 94085. USA

<http://www.passwordbank.com/>www.PasswordBank.com<http://www.passwordbank.com/>
This message and its attachments are sent from PasswordBank, Inc. and may
contain information that is
confidential. If you are not the intended recipient, you are prohibited from
printing, copying, forwarding or
saving them. Please delete the message and attachments without printing,
copying, forwarding or saving
them, and notify the sender immediately. Message transmission is not
guaranteed to be secure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110524/b3a363dc/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: staticUserFontOfSize.patch
Type: text/x-patch
Size: 396 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-osx/attachments/20110524/b3a363dc/attachment.bin 


More information about the Mono-osx mailing list