Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    12684: small/condensed font

    Scheduled Pinned Locked Moved
    Firmware wishlist
    3
    6
    251
    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.
    • oliofundefined
      oliof
      last edited by

      The 12864 menu system currently has two fonts, "small" and "default".

      I am currently working on adapting the Ultimate Display System to IDEX, and even with the small font I have trouble of getting the relevant information onto a single screen.

      Thus, I would request an option to have a smaller or condensed font.

      I assume this is a low priority request (-:

      <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

      dc42undefined 1 Reply Last reply Reply Quote 1
      • dc42undefined
        dc42 administrators @oliof
        last edited by

        @oliof the main work involved would be to generate the fonts. If you want to help with this feature request, you could do that. The fonts are generated using GLCD Font Creator, and it has to run in compatibility mode under Windows for it to work properly. I normally import the Liberation Sans font as it is royalty-free. After importing it and choosing the output size in pixels, a lot of the characters need to be cleaned up by hand to look reasonable. At least the code points from 0x20 to 0xFF need to be converted and (where necessary) tidied up.

        Then the font needs to be exported in C format, and the code adjusted to match the format of the existing font files in src/Display/Lcd/fonts.

        The existing small font is 7 x 11 pixels so you would have to go smaller than that, perhaps 5 x 8.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        oliofundefined 1 Reply Last reply Reply Quote 0
        • oliofundefined
          oliof @dc42
          last edited by oliof

          @dc42 I will try to get a font prepared. I dont have ready access to a Windows machine and spent the better of an afternoon and evniing trying to find a Linux toolchain to convert one of the 5x8 / 5x9 fonts floating around with a compatible license, but so far without success (conversion either butchered up the font or required preparing a font map in photoshop...). I will bump this thread when I have something sorted (-;

          I will look at Marlin source code as well, they use a 6x9 font as small font.

          <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

          droftartsundefined 1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @oliof
            last edited by

            @oliof there’s a few 5x7 and 5x8 bitmap fonts around, mainly old DOS fonts, that seem to be free/open source. I found a few with a quick google.

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            oliofundefined 1 Reply Last reply Reply Quote 1
            • oliofundefined
              oliof @droftarts
              last edited by oliof

              @droftarts yes, I do have fonts, thanks (-; just not in the desired format yet.

              (The Marlin font would have the advantage that I could look into one other of my long list of ideas; namely recreating Marlins menus in RRF).

              <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

              dc42undefined 1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators @oliof
                last edited by

                @oliof last time I looked, Marlin used fixed width fonts, although that might have changed by now. RRF uses proportionally spaced fonts.

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA