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
|