Skip to content

Commit

Permalink
Change arial.ttf to load_default
Browse files Browse the repository at this point in the history
  • Loading branch information
araistrick committed Nov 28, 2023
1 parent 9bea01f commit 7bcefb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infinigen_examples/asset_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def create_param_demo(args, seed):
xy=(10, 10),
text='\n'.join(f'{k}: {v:.2f}' for k, v in overrides.items()),
fill=(76, 252, 85),
font=ImageFont.truetype("arial.ttf", size=50)
font=ImageFont.load_default(size=50)
)
img.save(imgpath)

Expand Down

0 comments on commit 7bcefb3

Please sign in to comment.