зеркало из https://github.com/mono/mail-archives.git
98 строки
4.0 KiB
HTML
98 строки
4.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-osx] NSFont.UserFontOfSize() patch
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20NSFont.UserFontOfSize%28%29%20patch&In-Reply-To=">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="004333.html">
|
|
<LINK REL="Next" HREF="004339.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-osx] NSFont.UserFontOfSize() patch</H1>
|
|
<B>Maxi Combina</B>
|
|
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20NSFont.UserFontOfSize%28%29%20patch&In-Reply-To="
|
|
TITLE="[Mono-osx] NSFont.UserFontOfSize() patch">maxi.combina at passwordbank.com
|
|
</A><BR>
|
|
<I>Tue May 24 06:00:12 EDT 2011</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="004333.html">[Mono-osx] PermFormSelectOnMainThread patch for monomac
|
|
</A></li>
|
|
<LI>Next message: <A HREF="004339.html">[Mono-osx] NSFont.UserFontOfSize() patch
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#4334">[ date ]</a>
|
|
<a href="thread.html#4334">[ thread ]</a>
|
|
<a href="subject.html#4334">[ subject ]</a>
|
|
<a href="author.html#4334">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>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]
|
|
<A HREF="http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSFont_Class/Reference/Reference.html%23//apple_ref/occ/clm/NSFont/userFontOfSize">http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSFont_Class/Reference/Reference.html%23//apple_ref/occ/clm/NSFont/userFontOfSize</A>
|
|
:<i>
|
|
</I>
|
|
--
|
|
*Maxi Combina*
|
|
Cell:+1 408 300 3614
|
|
Tel: +1 408 524 1579
|
|
440 N. Wolfe Road. Sunnyvale. CA. 94085. USA
|
|
|
|
<<A HREF="http://www.passwordbank.com/">http://www.passwordbank.com/</A>>www.PasswordBank.com<<A HREF="http://www.passwordbank.com/">http://www.passwordbank.com/</A>>
|
|
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: <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20110524/b3a363dc/attachment.html">http://lists.ximian.com/pipermail/mono-osx/attachments/20110524/b3a363dc/attachment.html</A>
|
|
-------------- next part --------------
|
|
A non-text attachment was scrubbed...
|
|
Name: staticUserFontOfSize.patch
|
|
Type: text/x-patch
|
|
Size: 396 bytes
|
|
Desc: not available
|
|
Url : <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20110524/b3a363dc/attachment.bin">http://lists.ximian.com/pipermail/mono-osx/attachments/20110524/b3a363dc/attachment.bin</A>
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="004333.html">[Mono-osx] PermFormSelectOnMainThread patch for monomac
|
|
</A></li>
|
|
<LI>Next message: <A HREF="004339.html">[Mono-osx] NSFont.UserFontOfSize() patch
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#4334">[ date ]</a>
|
|
<a href="thread.html#4334">[ thread ]</a>
|
|
<a href="subject.html#4334">[ subject ]</a>
|
|
<a href="author.html#4334">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
|
|
mailing list</a><br>
|
|
</body></html>
|