I moved it over to the same folder that my program is in and it worked, thanks 
for your advice.

From: Christopher Night 
Sent: Sunday, February 24, 2013 8:22 PM
To: [email protected] 
Subject: Re: [pygame] Fonts

Do os.path.exists(filename) to make sure the file exists. It could be your 
working directory is wrong, or the capitalization doesn't match. 

-Christopher



On Sun, Feb 24, 2013 at 2:45 PM, myles broomes <[email protected]> 
wrote:

  Hi, 
  I loaded a .ttf file into the pygame folder but I can't use it in pygame. The 
font is 'baroquescript' and the error I get is as follows: 'IOError: unable to 
read font file 'baroquescript.ttf'. As far as I know, I've put the file in the 
right place but what am I doing wrong?

  Thanks in advance,
  Myles Broomes

Reply via email to