mirror of
https://github.com/freedoom/freedoom.git
synced 2025-08-31 20:16:55 -04:00
create_captions.py: use default font
This commit is contained in:
parent
215b7c644e
commit
dfde6e8793
1 changed files with 4 additions and 4 deletions
|
@ -6,10 +6,10 @@ import os
|
|||
|
||||
#create_caption.py <background_image> <title?> <phase?> <outfile>
|
||||
|
||||
try:
|
||||
font = ImageFont.truetype("DejaVuSansCondensed-Bold.ttf", 11)
|
||||
except IOError:
|
||||
font = ImageFont.load_default()
|
||||
#try:
|
||||
# font = ImageFont.truetype("DejaVuSansCondensed-Bold.ttf", 11)
|
||||
#except IOError:
|
||||
font = ImageFont.load_default()
|
||||
|
||||
|
||||
txt1= u"© 2001-2017"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue