Closed julian-weinert closed 3 years ago
Hi @julian-weinert
It looks like the problem with Python freetype library. I would advise you to rename font to the name without dash. If the problem still persists, submit the issue to freetype library. The following code fails to pass:
import freetype
font = freetype.Face( "NiceFont-Medium.ttf" )
Another possible root cause is the path to the font file. Please, check that the path is correct.
Best regards.
Sorry for getting back to you so late. Yes, I agree it must be an issue with the freetype library. It seems that its name matching is broken.
When I specifying the full path as you suggested it works. Thanks for the help
I'm trying to convert a font using the included fontgenerator tool. I tried it on my Mac as well on a Debian 10 installation, using python 2.7 and also python 3.
Every time I try to convert a font the following error occurs
I first thought it might be a permission issue, but I tried it with sudo as well. Then I assumed it was one of the funny Apple things and switched to my Debian installation which failed in exactly the same manner.