On Tuesday, May 7, 2013 10:52:58 AM UTC+3, Doug Linder wrote: > > 1) nope, it's 1.1.4 from the download, not off the repo > 2) osx mountain lion + windows 8 haven't tried any others. > 3) lib/pyglet/font/base.py > 4) 'fraid not, just the ones I'm using. That said, fontTool is the only > dep and that appears to be cross platform > 5) I'm not sure how useful it'll be, since, like I said, it depends on > fontTool, but I could probably clean it up and do that. > > Yeah, reading the source I saw lots of :( in there. > > I honestly wouldn't want to touch it if I didn't have to. The entire thing > should be ripped out and replaced with a freetype binding that loads and > renders font files directly imho. The mountains of code in there to access > the system fonts is just crazy. >
If you tale a look at current code in repository, you'll notice that Windows font support was rewritten. I've made it as a separate external module to decouple from pyglet and change API if necessary. You may find the source here - https://bitbucket.org/techtonik/fontquery If you know how to provide the same interface on Linux or Mac OS X, it will be quite doable to plug it too. -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/groups/opt_out.
