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

V Stuart Foote <vsfo...@libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vsfo...@libreoffice.org
           Severity|normal                      |enhancement
             Blocks|                            |124940

--- Comment #1 from V Stuart Foote <vsfo...@libreoffice.org> ---
No, the reason we don't convert from SVG at default 100-125% os/DE theme is
that the SVG --> PNG conversion is lossy at those scales.  Converted PNG can
not match the precision and crispness that an icon designer achieves in bitmap
at that scaling range. So comparing the two the converted SVG appear fuzzy,
just as bad as pixilation at the higher scaling.

Otherwise, for performance we don't directly render the SVG icon themes on the
UI, we convert them into PNG and display those.

So we deliver the prebuilt PNG (16px, 24px, 32px) to support the vast majority
of users cross platform, with ability in UI to select an SVG icon theme. The
SVG are delivered with the installation, placed to the share/config folder. 

So on selecting the SVG icon theme it generates a PNG rendering of the theme
based on the scaling factor and writes it to user profile 
(%APPDATA%\LibreOffice\4\cache folder per theme at each scale factor).

It is only with scaling on HiDPI devices, or use of larger display panel
formats that pixilation of the icon themes becomes noticeable. Though recently
for macOS we shifted to use the SVG icon theme directly, but that is more in
line with macOS display norms and its native source. Not applicable to other
os/DE.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=124940
[Bug 124940] [META] SVG Icon theme issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to