Navigation

    Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    [Question] Adjusting font for maximum sharpness in 240p mode

    Themes & Interface
    [question] adjusting font maximum sharpness
    4
    4
    1166
    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.
    • Huey Le
      Huey Le last edited by

      Hi, I'm currently trying to adjust the font in default theme so that it can be displayed in sharpest possible manner in 240p mode (due to the fact I'm a designer, seeing a non pixel perfect rendered on screen with so many sub-pixels is like an eye sore to me and I would like to see if I can do it better).

      Upon checking on theme folder, I quickly find the xml files that contains all the parameters to tweak the fonts. I substitute the fonts with DroidBB 8bit font and I notice that in each font size parameter, it goes like this 0.035 ---> if I change it to 1 or higher the UI will crash and not works.

      So my question is what kind of font size metric is this? is it Pt or Px or what's that?
      Also I am curious if it's possible to use Bitmap PNG font instead of using TTF font for maximum sharpness on 240p mode?

      Thanks

      Substring supernature2k 2 Replies Last reply Reply Quote 0
      • Substring
        Substring @Huey Le last edited by

        @huey-le i can't tell, but @rockaddicted @paradadf or @supernature2k should know

        Former dev - Please reply with @substring so that i am notified when you answer me
        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

        1 Reply Last reply Reply Quote 0
        • supernature2k
          supernature2k
          Developer
          Team
          Creator
          Global moderator
          @Huey Le
          last edited by

          @huey-le The value is in percent (%) of screen height.

          It is like this, can't be changed and of course depends on the original font size. That's why when you change font, you have to change every values and it can lead to ES crash if the value is too high/low

          Pi powered NES | Gameboy HD | RecalStation | RecalDrive
          Upvote messages if it has been useful ;)

          1 Reply Last reply Reply Quote 0
          • Dragu
            Dragu Banned last edited by Dragu

            @Huey-Le
            If you use following shader, no pixels anymore. I use it globally.

            /recalbox/share_init/shaders/shaders_glsl/scalehq/2xScaleHQ.glslp
            
            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Want to support us ?

            85
            Online

            87.3k
            Users

            25.6k
            Topics

            178.2k
            Posts

            Copyright © 2021 recalbox.com