Improve font handling

Registered by Stani

Try to use wxFontDialog in combination with pygame sysfont.py module:
http://www.seul.org/viewcvs/viewcvs.cgi/trunk/lib/sysfont.py?rev=2519&root=PyGame&view=markup

Blueprint information

Status:
Not started
Approver:
Stani
Priority:
High
Drafter:
Stani
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
Accepted for 0.3
Implementation:
Not started
Milestone target:
None

Related branches

Sprints

Whiteboard

Igor: for "filename to font name" you need a freetype binding
http://sk1.svn.sourceforge.net/viewvc/sk1/trunk/sK1/src/extentions/freetype2/ft2module.c?view=markup

Igor Novikov: this one: http://sk1.svn.sourceforge.net/viewvc/sk1/trunk/sK1/src/app/utils/os_utils.py?view=markup

(19:30:22) Igor Novikov: get_files(path='.', ext='*')

(19:31:02) Igor Novikov: get_files_tree(path='.', ext='*')

(19:31:32) Igor Novikov: last function is used for recursive font search

DEPRECATED
As on linux we need the filename of a font for PIL. The wxFontDialog doesn't give us that. We need to implement our proper dialog. On Windows we can use the default windows dialog, as PIL there only requires the name of the font.

Maybe we can borrow code from
http://savannah.nongnu.org/projects/fontypython

User interface design
http://www.unifont.org/fontdialog/

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.