rotemtzaban / STIT

MIT License
1.2k stars 168 forks source link

edit_video_stitching_tuning.py has a dependency on "FreeSans" font being installed #6

Closed sam598 closed 2 years ago

sam598 commented 2 years ago

Changing line

font = ImageFont.truetype("truetype/freefont/FreeSans.ttf", font_size)

to

font = ImageFont.load_default()

is a quick fix.

johndpope commented 2 years ago

https://zoomadmin.com/HowToInstall/UbuntuPackage/fonts-freefont-otf - maybe helpful

rotemtzaban commented 2 years ago

Thanks for raising that problem(and also proposing a solution). I'll update the code to use the default font as backup.

rotemtzaban commented 2 years ago

@sam598 I added the default font as fallback, please update if there are any more issues with that