[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Font consuming file handles
Guys,
I use pygame for my multimedia system and just took a look at the file
handles. I was pretty shocked seeing ~100 open file handles under my app
which points to different ttf files. Basically I load font like this:
s= os.path.join( path, fontName )
fontObj= pygame.font.Font( s, int( size ) )
After that I just use it. I suspect it is a SDL_ttf kind of "feature" but
just wanted to ask...
Dmitry/