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

Re: [pygame] Font



And make sure to cache it.

On Wed, Mar 25, 2009 at 4:08 AM, Ian Mallett <geometrian@xxxxxxxxx> wrote:
> Read the docs.
>
> Simple example:
>
> antialias = True
> color = (255,0,0)
> Font = pygame.font.SysFont("Times New Roman",12)
> RenderedFontSurface = Font.render("blah",antialias,color)
>
> Ian
>