Custom fonts?

PanduhBeer

  • Newbie
  • *
    • Posts: 2
    • View Profile
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?


lennevia

  • Administrator
  • Hero Member
  • *****
    • Posts: 380
    • View Profile
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


PanduhBeer

  • Newbie
  • *
    • Posts: 2
    • View Profile
Thank you!  I didn't have the file open in a tab on the editor.


lennevia

  • Administrator
  • Hero Member
  • *****
    • Posts: 380
    • View Profile

 

SMF spam blocked by CleanTalk