Bugs item #786357, was opened at 2003-08-10 20:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=114534&aid=786357&group_id=14534
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martina Oefelein (oefe)
Assigned to: Nobody/Anonymous (nobody)
Summary: NSFont.fontWithName: matrix:
Initial Comment:
The second argument to NSFont.fontWithName: matrix: is
an array of 6 floats. PyObjC 1.0b1 treats is as a single float
instead.
Python 2.2 (#1, 11/12/02, 23:31:59)
[GCC Apple cpp-precomp 6.14] on darwin
Type "help", "copyright", "credits" or "license" for more
information.
>>> import objc, AppKit
>>> objc.__version__
'1.0b1'
>>> AppKit.NSFont.fontWithName_matrix_("Helvetica", (10,
0, 0, 10, 0, 0))
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ValueError: depythonifying 'float', got 'tuple'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=114534&aid=786357&group_id=14534
|