[Libreoffice-bugs] [Bug 136211] SVG icons are blurred on HiDPI screen

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Sep 12 06:55:49 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=136211

V Stuart Foote <vstuart.foote at utsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[Skia] SVG icons are        |SVG icons are blurred on
                   |blurred on HiDPI screen     |HiDPI screen
             Blocks|129062                      |

--- Comment #14 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to stragu from comment #13)
> ...
> Because, surely, the current state cannot be considered to be good enough.
> Or do you really mean by "no fix is required" that the current situation is
> fine?

I do. The pre-built PNG icon sets 16px, 24px, 32px (and a smattering at higher
res) are clean and crisp 'out of the box' for resolutions < 125%

Those same PNG icons, when scaled, will look pixelated.

Project has made an effort to package SVG versions of the icons, which are
ideal for os/DE scaling > 150%  They are not intended to be used at 100% UI
scale as the necessary rasterization makes for ugly icons. They scale with the
UI correctly, and look good.

Easy to prove, clear user cache, enable an SVG icon theme, and then scale the
os/DE--the SVG icon theme will be rasterized as a set into clean scaled icons
(as PNG which the UI still requires).

There is a very real issue as in bug 126446--NOT OUR BUG--on Windows bcz of
functional difference between simple UI scale presets and custom scaling.
Simple UI scaling is from the Desktop context -> Display Settings -> Scale and
Layout that gives a listbox of simple scale presets. 

As compared to the MS Windows 'Advanced Scaling Settings' dialog with its
'Custom scaling' entry field 100% - 500%. They behave differently, and
LibreOffice UI scaling results differ.

The simple listbox UI scaling applies immediately, warning some apps won't
respond 'til logoff/on--but even then may not trigger LibreOffice's bulk
rasterization of the icon theme. The 100% icons end displayed on a screen
scaled e.g. to 175% or 200%.

On the other hand, setting the 'Custom scaling' value, which requires an os/DE
logoff, will always cause LibreOffice launch to resample the icon theme into a
new set of PNG icons at scale. The PNG icon themes get pixelated, but when an
SVG icon theme had been selected--the scaled SVG icons are the crisp clean
icons needed for HiDPI UI resolutions.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=129062
[Bug 129062] [META] Skia library bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200912/e49239e5/attachment.htm>


More information about the Libreoffice-bugs mailing list