You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Heads up to anyone else, I ran into a bug where I couldn't load the custom font provided. On line 74 of scripts/photo.py I needed to add the prefix horcrux because my setup.command was running from my base directory, not the horcrux directory.
font = ImageFont.truetype('./assets/font/' + conf.fontfamily, conf.fontsize)
Changed to:
font = ImageFont.truetype('./horcrux/assets/font/' + conf.fontfamily, conf.fontsize)
Thank you so much for this incredible library!
Heads up to anyone else, I ran into a bug where I couldn't load the custom font provided. On line 74 of
scripts/photo.py
I needed to add the prefixhorcrux
because mysetup.command
was running from my base directory, not the horcrux directory.font = ImageFont.truetype('./assets/font/' + conf.fontfamily, conf.fontsize)
Changed to:
font = ImageFont.truetype('./horcrux/assets/font/' + conf.fontfamily, conf.fontsize)
and then everything worked as it should!
Thanks again @soyaine
The text was updated successfully, but these errors were encountered: