Bug 425858 - Fonts on Windows are rough
Summary: Fonts on Windows are rough
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.10.1
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-27 09:07 UTC by nidenov
Modified: 2020-08-29 08:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of the problem (131.14 KB, image/png)
2020-08-27 09:08 UTC, nidenov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nidenov 2020-08-27 09:07:28 UTC
The fonts (rendering) are pretty rough in comparison with Adobe Reader. I tried all the different rendering options, but nothing makes it better. It is best seen on the photo in the Attachment.
Comment 1 nidenov 2020-08-27 09:08:58 UTC
Created attachment 131214 [details]
Screenshot of the problem
Comment 2 Laura David Hurka 2020-08-27 13:00:51 UTC
Indeed, the screenshot does not look nice. But I see some other roughness in other parts of the Okular window. E. g. the forward and back arrows look pretty blocky.

Does it happen with every document? Also with plaintext (.txt) documents?

And in case you can check it: Do you have some kind of screen scaling enabled, maybe only for specific applications? Are you maybe running Okular in some sandbox like Flatpack, or did you install it directly?
Comment 3 Laura David Hurka 2020-08-27 13:02:13 UTC
Hey Bugzilla, make it WAITINGFORINFO for us?
Comment 4 nidenov 2020-08-27 16:42:50 UTC
(In reply to David Hurka from comment #2)
> Indeed, the screenshot does not look nice. But I see some other roughness in
> other parts of the Okular window. E. g. the forward and back arrows look
> pretty blocky.
> 
> Does it happen with every document? Also with plaintext (.txt) documents?
> 
> And in case you can check it: Do you have some kind of screen scaling
> enabled, maybe only for specific applications? Are you maybe running Okular
> in some sandbox like Flatpack, or did you install it directly?

Yes, I have a scaling factor different from 100%. The screenshot is on 150% (Windows lists it as recommended), But the problem also appears on every one different from 100%. (On 100% everything is fine.)

Also, this appears on every document, even txt and yes, the icons also seems to be blocky too. You can really see it on lines in the icon for Thumbnails and Marking.

I have it installed from the Windows Store, and I am running it just normally.
Comment 5 Laura David Hurka 2020-08-28 13:36:41 UTC
Thanks, that should be everything relevant.

I read somewhere that Windows Store does some sandboxing, maybe that hides the screen scale from Qt. Just an idea.

I don’t know who has knowledge about Windows Store right now, someone else knowing?
Comment 6 nidenov 2020-08-29 08:50:43 UTC
I just tested the latest stable version for Windows I could find - Version 1.11.70

The problem is the same. Probably not so much, or not at all with the icons from the Okular itself but the contents of the pdfs are not how are they supposed to.

I changed back to scaling 100% and the problem disappears - everything looks normal.

So, yes, the problem is caused by having a scaling different than 100%.