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

Re: [pygame] Please help!



On Tue, Nov 2, 2010 at 3:58 AM, Brian Fisher <brian@xxxxxxxxxxxxxxxxxxx> wrote:
> ....however there is a slightly different way to solve this - load your font
> from a .ttf file explicitly.
>
> so if you replace:
>
> font = pygame.font.Font(None, 80)
>
> with:
>
> font = pygame.font.Font("images/freesansbold.ttf", 80)
>
> and then copy the font into your images directory, and also add the font to
> the data_files list, then it should work that way as well.

Cool.

Zach