Giter Site home page Giter Site logo

Comments (6)

CrendKing avatar CrendKing commented on June 28, 2024

I just tried the nightly, and it seems enabling the new "Use OS Window decorations" eliminates the issue.

from imhex.

WerWolv avatar WerWolv commented on June 28, 2024

Just tried this locally and I can't seem to replicate it. Both 1.0x and 2.0x look perfectly crisp for me when following your steps.
Also I can't really make out any difference between the pictures you've posted but it might have been lost in compression.

Blurry fonts often mean though that you have Antialiasing or Anisotropic Filtering force-enabled in your GPU Driver settings. Check there maybe

from imhex.

CrendKing avatar CrendKing commented on June 28, 2024

Well, if you can't tell the differences in the screenshot, maybe you missed the issue in your replication process as well. Please allow me to help you.

The difference is not lost in compression. I just downloaded the pixel font images above, cropped just the "retinas" part, and zoomed in 15x in a image editor. You can see that the problematic version has all strokes bleeding into the pixel above. This is usually caused by subpixel antialiasing, and it's usually cured by adding hinting to the font and use it in the application. If this only happened to the custom TrueType font, then I can guess maybe your font rendering engine does not make use of hinting. However, since this also happens to the pixel font, which should not have subpixel antialiasing at all, then I had no idea now.

Good small
Bad small
Good large
Bad large


Also, just FYI, one way to identify subtle differences between two images, especially their dimensions differ, is to download them, open them both in image viewer/editor, move one of the image so their relevant position overlaps, then switch tabs/windows repeatedly. Zooming in also helps.

Also, this could be specific to your Windows build, which could explain why enabling the OS specific window deco solves the issue, and maybe why you don't replicate the issue.

from imhex.

WerWolv avatar WerWolv commented on June 28, 2024

Okay it's extremely subtle in the original large screenshots you posted. In the past when people had issues with blurry fonts, they were really completely blurred out.

However, I still don't have the issue myself. It looks 100% crisp to me.
image

Could you try the latest dev build from https://imhex.download/#nightly perhaps? Just to rule out it hasn't been fixed already.

The font renderer I'm using is basically just ImGui's with FreeType as rasterizer, I doubt that one has any issues.

from imhex.

CrendKing avatar CrendKing commented on June 28, 2024

Thank you. I know it's relatively subtle. Once I see it, I can't unsee it :) Especially for me who used to develop font rendering engine myself.

Like I said, I tried nightly (and also the new 1.33.0). By default it behaves the same for me, until I turned on the "Use OS Window decorations".

I also noticed that while the body part of the app has the blurry, the menu text stays crisp clear. See magnified screenshots. Is there a different rendering method between the two?

Menu
Body

from imhex.

CrendKing avatar CrendKing commented on June 28, 2024

Since you mentioned about GPU driver settings, and I can't run ImHex in a virtual machine due to lack of video hardware acceleration, I went to reset my driver settings (it is NVIDIA), even though I'm pretty sure I've never change its default (I learned lesson before, and I even upgraded to the latest this week. Strangely I can no longer reproduce the issue any more.

Well, sorry for taking your time. Feel free to close. And to anyone in the future who might encounter the same issue, try resetting GPU driver settings and/or upgrade driver version.

from imhex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.