[ pyobjc-Bugs-3090731 ] CATextLayer font setter fails with NSFont as argument

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.python.pyobjc.devel
Message-ID <[email protected]>
Bugs item #3090731, was opened at 2010-10-19 13:16
Message generated for change (Tracker Item Submitted) made by krunk
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=114534&aid=3090731&group_id=14534

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: James Kyle (krunk)
Assigned to: Nobody/Anonymous (nobody)
Summary: CATextLayer font setter fails with NSFont as argument

Initial Comment:
CATextLayer's font property should be able to accept an NSFont, but fails with 

ValueError: depythonifying 'unsigned long', got 'NSFont'

>>> from Quartz.QuartzCore import CATextLayer
>>> from AppKit import NSFont
>>> ca = CATextLayer.layer()
>>> font = NSFont.fontWithName_size_(u"Monaco", 12.0)
>>> ca.setFont_(font)
ValueError: depythonifying 'unsigned long', got 'NSFont'


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=114534&aid=3090731&group_id=14534

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.