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

    Solution: Getting decent looking fonts on PaperS3

    SOFTWARE
    1
    1
    340
    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.
    • W
      wsanders
      last edited by

      I'm trying to get decent-looking fonts on the PaperS3. As called by setFont, the fonts are huge and blocky (unaliased). However, If they are subsequently scaled by setTextSize, even wth a scale of 1.0, they are the right size and smooth.

      You have to experiment. For example, with Font6 and Font8, punctuation charactersaren't rendered, I am guessing to save space. But Font4 scaled up to 2.0 looks very nice.

      I've attached a couple of images that show this effect:

      M5.Display.setFont(&fonts::Font4), without scaling:
      c5c5d5e6-38d0-47df-bced-a516abb79398-image.png

      M5.Display.setFont(&fonts::Font4);
      M5.Display.setTextSize(2.0);
      f4152939-8029-4372-8b1c-1231fb6ae4e7-image.png

      Not sure if this is a bug or a feature, but it works!

      1 Reply Last reply Reply Quote 1
      • First post
        Last post