self.font = pygame.font.Font("font.ttf", 14)
print "Couldn't find arial.ttf - resorting to
self.font = pygame.font.Font(None, 12)
pyui.locals.TEXT_HEIGHT = self.font.get_height()
=> try to load 'font.ttf' but report an error
Also, when the default font is used, the interface is very
messed up (bordering unusable). Settings the default
font size to 18 instead of 12 seems to solve that.
Shouldn't we try to load 'arial.ttf' from "%WINDIR%
\Fonts" on the Windows platform. This would work
better 'out of the box'.
Log in to post a comment.