[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Getting 1.6 Ready



On Monday, Sep 29, 2003, at 01:49 America/New_York, Bob Ippolito wrote:

On Saturday, Sep 27, 2003, at 22:40 America/New_York, Andrew Straw wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pete Shinners wrote:

| unfortunately the one thing that never materialized was system font
|  finding code for mac osx. as the new solarwolf makes extensive use
|  of SysFont, i was able to actually test it all out. Unix and
| Windows are now well supported for finding ttf fonts on the system.
| The calls for osx are still allowed, you just get the "default"
| pygame font returned for any arguments. i'd still love for this
| code to appear :]

I'd still love for pygame to incorporate the patches that Bob Ippolito
submitted to this list in late July! :)
I just got CVS access to pygame today, and I have committed my changes. It looks like reasonable SysFont support would require writing another font class that uses the native typography support for OS X.. It shouldn't be terribly hard, I'll just have to see what's involved with regard to getting the contents of a NSView into a pygame surface.
This is essentially what a SysFont for OS X may look sort of like.. There's some funny stuff going on here, but it sort of kind of almost works.

By the way, what the heck is up with pixels2d being [column][row] and not [row][column]? and why isn't there a version of pixels3d with alpha in it?

Attachment: macfont.py
Description: Binary data


-bob