Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. The Lounge
  3. I'm so close *sob*

I'm so close *sob*

Scheduled Pinned Locked Moved The Lounge
combusiness
8 Posts 5 Posters 0 Views 1 Watching
  • 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.
  • honey the codewitchH Offline
    honey the codewitchH Offline
    honey the codewitch
    wrote on last edited by
    #1

    Edit: I did it! My Truetype font output on LVGL[^] I can't seem to get it to line up along the baseline using LVGL's font machinations. Other than that, I've done all the ugly business of getting it rendering, and there was a lot to do. But I cannot figure this out for the life of me. I'm so close, but it may as well be the moon. :(

    To err is human. Fortune favors the monsters.

    OriginalGriffO L CPalliniC J 4 Replies Last reply
    0
    • honey the codewitchH honey the codewitch

      Edit: I did it! My Truetype font output on LVGL[^] I can't seem to get it to line up along the baseline using LVGL's font machinations. Other than that, I've done all the ugly business of getting it rendering, and there was a lot to do. But I cannot figure this out for the life of me. I'm so close, but it may as well be the moon. :(

      To err is human. Fortune favors the monsters.

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      It looks like it's related to the characters, and that there are two reference points. So ... kludge it so it works, then look at the kludge factor you had to apply. What's it's actual value? Is it related to a specific pattern of the character number? Or is there something with the same kludge factor that you missed in the TT font data? Fonts are always fun to play with, and never work like you expect in my experience! :-D If that doesn't work, take the night off and look at it fresh tomorrow.

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • honey the codewitchH honey the codewitch

        Edit: I did it! My Truetype font output on LVGL[^] I can't seem to get it to line up along the baseline using LVGL's font machinations. Other than that, I've done all the ugly business of getting it rendering, and there was a lot to do. But I cannot figure this out for the life of me. I'm so close, but it may as well be the moon. :(

        To err is human. Fortune favors the monsters.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        This is why I use simple bitmap fonts

        honey the codewitchH 1 Reply Last reply
        0
        • L Lost User

          This is why I use simple bitmap fonts

          honey the codewitchH Offline
          honey the codewitchH Offline
          honey the codewitch
          wrote on last edited by
          #4

          That's not always practical.

          To err is human. Fortune favors the monsters.

          L OriginalGriffO 2 Replies Last reply
          0
          • honey the codewitchH honey the codewitch

            That's not always practical.

            To err is human. Fortune favors the monsters.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            I'm not always practical

            1 Reply Last reply
            0
            • honey the codewitchH honey the codewitch

              That's not always practical.

              To err is human. Fortune favors the monsters.

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #6

              It depends on the application: if your need raw speed, bitmap fonts are the way to go. If you want flexibility (in terms of size, weight, and effects) then truetype is the choice. But Bitmaps use significant space when they get to large font sizes, and really don't scale well without losing the speed advantage. I even invented my own "compromise font" based on vertical slices compressed into "runs" of black for one device which needed the speed and a small size (Z80 processor @ 32MHz was right on the edge of what I needed, but there wasn't a faster one!) Took me about a week to get it all working fast enough, and it worked for over a decade until the company went bust in the early 00's recession.

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              1 Reply Last reply
              0
              • honey the codewitchH honey the codewitch

                Edit: I did it! My Truetype font output on LVGL[^] I can't seem to get it to line up along the baseline using LVGL's font machinations. Other than that, I've done all the ugly business of getting it rendering, and there was a lot to do. But I cannot figure this out for the life of me. I'm so close, but it may as well be the moon. :(

                To err is human. Fortune favors the monsters.

                CPalliniC Offline
                CPalliniC Offline
                CPallini
                wrote on last edited by
                #7

                Faraway, So Close! C'mon, you can do it.

                "In testa che avete, Signor di Ceprano?" -- Rigoletto

                In testa che avete, signor di Ceprano?

                1 Reply Last reply
                0
                • honey the codewitchH honey the codewitch

                  Edit: I did it! My Truetype font output on LVGL[^] I can't seem to get it to line up along the baseline using LVGL's font machinations. Other than that, I've done all the ugly business of getting it rendering, and there was a lot to do. But I cannot figure this out for the life of me. I'm so close, but it may as well be the moon. :(

                  To err is human. Fortune favors the monsters.

                  J Offline
                  J Offline
                  jmaida
                  wrote on last edited by
                  #8

                  The Land of Fonts is filled with the devil's details. However, if you keep your head and keep things organized it can be bit-map fun. Recommend you check FreeGlut [^]

                  "A little time, a little trouble, your better day" Badfinger

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups