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

    M5Paper load font message "FT_Stream_Open: opened `/GenSenRounded-R.ttf' but zero-sized"

    Scheduled Pinned Locked Moved Cores
    3 Posts 2 Posters 7.4k 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.
    • P Offline
      Powersoft
      last edited by

      When I load the font from the example M5EPD_TTF get the message

      "FT_Stream_Open: opened `/GenSenRounded-R.ttf' but zero-sized"

      What is the meaning of this message?

      1 Reply Last reply Reply Quote 0
      • lukasmaximusL Offline
        lukasmaximus
        last edited by

        Hey @Powersoft this example requires you to put the GenSenRounded-R.ttf font file found in the M5EPD_TTF example folder in the root of an sd card or load it into spiffs with the "ESP32 Sketch Data Upload" plugin, did you do that?

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          Powersoft @lukasmaximus
          last edited by

          @lukasmaximus
          Thanks Lukas, The problem was loading the font from the internal file system.
          After delete all these, and place Serial.begin in the right orde loading of the fonts was no problem. Even my DSEG7Classic-Regular.ttf was loaded correct, and display correct. Converted it with the python file ttf2bin.py was also a succes in use.

          One question remains. The command "createRender(168, 256)" is used for drawing bigger text, but are there limitations?
          In my case when I put a larger value as 168 the screen still blanks, notting happens, but no error message shows up. The documentation is a bit fuzzy. Please can you explane this command.

          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