🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    M5Stack, Micropython, Fonts

    Scheduled Pinned Locked Moved Micropython
    3 Posts 2 Posters 6.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      Treadbrook
      last edited by

      I've just taken delivery of my first M5Stack and am tearing my hair out trying to get additional fonts to load in Micropython. Doing a really good search here hasn't turned up anything that seems to work for me.

      Can someone give me an example on where to put the font file, what format it needs to be in, and how to load it please?

      I have tried converting a .ttf to a .fon using the online converter, then putting the file in the root alongside boot.py and main.py, but nothing I try with the lcd.font command woks - the M5Stack just reboots.

      Help!!

      1 Reply Last reply Reply Quote 0
      • F Offline
        flypeek
        last edited by

        https://github.com/m5stack/M5Stack_MicroPython#lcdcompilefontfile_name-debug

        https://community.m5stack.com/topic/388/cahnge-font-size-in-python

        1 Reply Last reply Reply Quote 0
        • T Offline
          Treadbrook
          last edited by

          Thanks for the response Flypeek, I've seen both those and nothing works. The M5Stack just reboots.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post