![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programming Guru
![]() ![]() |
Help with fonts...
font = pygame.font.Font("Courier New.ttf", 14)
Shouldn't this change the font to courier new? But it can't find it...if you have any examples that work, that would be nice. |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Feb 2005
Posts: 86
Rep Power: 0
![]() |
font for what?
the text editor? or the game that u r making? |
|
|
|
|
|
#3 |
|
Programming Guru
![]() ![]() |
What text editor?
The game I'm making. Isn't a font still a font no matter what program? Help? |
|
|
|
|
|
#4 |
|
Professional Programmer
|
Try putting the exact path to the text file into Font()
__________________
The world's first athletic computer geek! The home of PrProgramsStudios How not to post a question: <-- Please don't reply |
|
|
|
|
|
#5 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
Looks like you would need to use Font.match_font to fnd the full path and then load it.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|