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
  1. Home
  2. The Lounge
  3. Boring code

Boring code

Scheduled Pinned Locked Moved The Lounge
graphicshelpwpfcomiot
6 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.
  • H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #1

    I can't stand doing text layout code. It's so clunky and rube goldberg like. I've been working in dribs and drabs over days on getting my graphics library to support VLW fonts as a compromise between truetype vector and non-antialiased raster. One issue is, since I only supported a couple of different font styles so far I didn't really need a generalized layout system, but now with 3 different font formats it would be beneficial to make the fonts use a universal system for laying out text. But the big problem for me is the code is boring and tedious, like hand written parsing code tends to be. Can't bear code like this.

    Check out my IoT graphics library here: https://honeythecodewitch.com/gfx

    C R L B 4 Replies Last reply
    0
    • H honey the codewitch

      I can't stand doing text layout code. It's so clunky and rube goldberg like. I've been working in dribs and drabs over days on getting my graphics library to support VLW fonts as a compromise between truetype vector and non-antialiased raster. One issue is, since I only supported a couple of different font styles so far I didn't really need a generalized layout system, but now with 3 different font formats it would be beneficial to make the fonts use a universal system for laying out text. But the big problem for me is the code is boring and tedious, like hand written parsing code tends to be. Can't bear code like this.

      Check out my IoT graphics library here: https://honeythecodewitch.com/gfx

      C Offline
      C Offline
      Calin Negru
      wrote on last edited by
      #2

      I feel the same about writing RTS code. I had admiration for RTS games since I was a kid. I thought if I’ll succeed to code the part of units traveling on the map it would be more than I could wish for. After many trials ( it took years ) I managed to do that. Now the question is should I start building everything else a RTS has? Even if I perceive it as being boring?

      1 Reply Last reply
      0
      • H honey the codewitch

        I can't stand doing text layout code. It's so clunky and rube goldberg like. I've been working in dribs and drabs over days on getting my graphics library to support VLW fonts as a compromise between truetype vector and non-antialiased raster. One issue is, since I only supported a couple of different font styles so far I didn't really need a generalized layout system, but now with 3 different font formats it would be beneficial to make the fonts use a universal system for laying out text. But the big problem for me is the code is boring and tedious, like hand written parsing code tends to be. Can't bear code like this.

        Check out my IoT graphics library here: https://honeythecodewitch.com/gfx

        R Offline
        R Offline
        Ron Anders
        wrote on last edited by
        #3

        I wondered where you were. :-D

        1 Reply Last reply
        0
        • H honey the codewitch

          I can't stand doing text layout code. It's so clunky and rube goldberg like. I've been working in dribs and drabs over days on getting my graphics library to support VLW fonts as a compromise between truetype vector and non-antialiased raster. One issue is, since I only supported a couple of different font styles so far I didn't really need a generalized layout system, but now with 3 different font formats it would be beneficial to make the fonts use a universal system for laying out text. But the big problem for me is the code is boring and tedious, like hand written parsing code tends to be. Can't bear code like this.

          Check out my IoT graphics library here: https://honeythecodewitch.com/gfx

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

          The pleasure is in solving the problem; not in implementing it ... unless it involves lights.

          "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

          H 1 Reply Last reply
          0
          • L Lost User

            The pleasure is in solving the problem; not in implementing it ... unless it involves lights.

            "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

            H Offline
            H Offline
            honey the codewitch
            wrote on last edited by
            #5

            Right? Problem is I've solved it before. It's also not clean enough that I can just use my existing solution.

            Check out my IoT graphics library here: https://honeythecodewitch.com/gfx

            1 Reply Last reply
            0
            • H honey the codewitch

              I can't stand doing text layout code. It's so clunky and rube goldberg like. I've been working in dribs and drabs over days on getting my graphics library to support VLW fonts as a compromise between truetype vector and non-antialiased raster. One issue is, since I only supported a couple of different font styles so far I didn't really need a generalized layout system, but now with 3 different font formats it would be beneficial to make the fonts use a universal system for laying out text. But the big problem for me is the code is boring and tedious, like hand written parsing code tends to be. Can't bear code like this.

              Check out my IoT graphics library here: https://honeythecodewitch.com/gfx

              B Offline
              B Offline
              BernardIE5317
              wrote on last edited by
              #6

              a future possibly next project is an editor which will require text editing . i was not looking forward to this aspect of the project as transforming pixel positions to text will no doubt require various font dependencies which i barely understand . however i decided to challenge myself to implement an elegant and knowledgeable solution . further as the editor will also display non-displayable characters as Notepad++ does nicely yet more complications result . again i am challenging myself to find an elegant solution to this problem also . this is intended as an improvement of a prior project which handled only the simplest of fonts and characters .

              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