TinyCircuits Forum

TinyCircuits Products => Thumby => Topic started by: PanduhBeer on November 10, 2022, 02:46:13 PM

Title: Custom fonts?
Post by: PanduhBeer on November 10, 2022, 02:46:13 PM
I have a 3x3 binary font I'd like to use, except when I import it and try to use thumby.display.setFont() with the correct file path I get OSError: [Errno 2] ENOENT.  Any ideas?
Title: Re: Custom fonts?
Post by: lennevia on November 10, 2022, 03:56:17 PM
Hi there,

The ENOENT error means that the program can't find the file in the location you've provided. Do you have a tab open in the Code Editor with the font file? Or is it on the Thumby? Are you sure your file path is correct? If you have a screenshot of your Code Editor with the location of the font file as well as the code, I may be able to help better.

Let me know!

Cheers,
RĂ©na
Title: Re: Custom fonts?
Post by: PanduhBeer on November 10, 2022, 08:37:42 PM
Thank you!  I didn't have the file open in a tab on the editor.
Title: Re: Custom fonts?
Post by: lennevia on November 11, 2022, 10:30:05 AM
Glad it was a quick fix!