Nearly unreadable small fonts in UI with 4K screen

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
Murdock
Posts: 3
Joined: Mon Jul 04, 2016 12:34 pm

Nearly unreadable small fonts in UI with 4K screen

Post by Murdock »

Hi,
I'm using a 4K monitor together with Linux Mint 17.3.
In order to read text quite well, I use a general font scaling factor of 1.6 in the fonts settings of cinnamon. Most applications (even qt application like Clementine) honour this scaling factor.
XnView unfortunately does not, which results in nearly unreadable small fonts. The fonts in the browser window below the thumbnails can be adjusted within the settings - that's ok so far.
For the fonts in the general user interface I didn't find a way to increase the font size.
Is there a way to adjust the size?
Furthermore the checkbox for large icons is not stored. After restart of XnView the icons still have the same size and - which I can live with if the fonts are bigger.
Thanks.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Nearly unreadable small fonts in UI with 4K screen

Post by XnTriq »

I tried adding…

Code: Select all

* {
font-size: 200%;
}
… to View » Theme » Dark theme » style_sheet.qss, but MP seems to accept only absolute values in pixels.
Murdock
Posts: 3
Joined: Mon Jul 04, 2016 12:34 pm

Re: Nearly unreadable small fonts in UI with 4K screen

Post by Murdock »

Thanks for the hint.

I added:

Code: Select all

* {
font-size: 15px;
}
to the user's related style_sheet.qss for the Dark Theme and this did the trick, at least for this theme.

Does anybody know ho to change that in the default theme?
I tried to apply these changes also to the global \opt\XnView\UI\style_sheet.css file but without any effect.
Erixx haxx
Posts: 330
Joined: Tue Jul 28, 2015 10:37 am

Re: Nearly unreadable small fonts in UI with 4K screen

Post by Erixx haxx »

I'm guessing the default theme and fusion is hard coded.

Would be nice to have a default style sheet so I can turn it dark. (Since the dark theme is so buggy) .

Dark theme really needs a fresh start.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Nearly unreadable small fonts in UI with 4K screen

Post by XnTriq »

Murdock wrote:Does anybody know ho to change that in the default theme?
I tried to apply these changes also to the global \opt\XnView\UI\style_sheet.css file but without any effect.
Please go to View » Theme » Dark theme, delete all instructions in the tab for style_sheet.qss, replace it with…

Code: Select all

* {
font-size: 15px;
}
… and confirm with OK. This should leave you with the default theme and increased font size.
Murdock
Posts: 3
Joined: Mon Jul 04, 2016 12:34 pm

Re: Nearly unreadable small fonts in UI with 4K screen

Post by Murdock »

That worked.
Thanks!
Post Reply