foliate icon indicating copy to clipboard operation
foliate copied to clipboard

Blurry fonts on HiDPI display

Open mwichtowski opened this issue 2 years ago • 7 comments

Hi, Foliate is great, but on my HiDPI displays, fonts are very blurry: obraz In fact, everything rendered as a book is blurry. Version 2.6.3. I've found, that setting fullscreen mode fixes this effect.

mwichtowski avatar Jul 01 '22 06:07 mwichtowski

Probably a WebKitGTK bug. I know that in GTK 3, when CSS filter is applied it would look blurry. In Foliate, that means if you've adjusted the brightness or enabled invert mode, it would look blurry. It appears to be fixed in GTK 4. Not sure about fullscreen mode, though. Can you explain how setting fullscreen mode fixes the issue?

johnfactotum avatar Jul 04 '22 07:07 johnfactotum

I don't how, but when I clicked fullscreen button, everything has became sharp and I can't reproduce the problem now :( obraz

mwichtowski avatar Jul 05 '22 12:07 mwichtowski

I have this issue too, but it doesn't go away in fullscreen. I have noticed that it only occurs with fractional scaling; normally I use 125%, where the text is blurry, but if I switch to 200% it looks fine. Screenshot below. Should I open a new issue or keep using this one?

image

190n avatar Apr 07 '24 21:04 190n

Looks like the same issue. Guess I'll reopen this.

johnfactotum avatar Apr 10 '24 04:04 johnfactotum

I have the same issues when reading PDFs. ePubs look correct tho. Worth noting that I am running the app using WEBKIT_DISABLE_DMABUF_RENDERER=1 on 23.10 image

georgeenciu avatar Apr 21 '24 09:04 georgeenciu

@georgeenciu Blurry PDF is a different bug.

Actually I'm not sure if @190n's issue is the same as the original. But certainly, PDFs would be blurry regardless of being in fullscreen or using fractional scaling or not.

johnfactotum avatar Apr 23 '24 04:04 johnfactotum

My screenshot was from an ePub.

190n avatar Apr 23 '24 04:04 190n