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

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Sep 9 15:15:24 UTC 2020


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

--- Comment #12 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to stragu from comment #11)
> Stuart, could you please direct us to the relevant bug report that tracks
> the issue of SVGs being resampled? I thought the whole idea of using SVG
> icons is that they would nice at any size / zoom level, because they are
> vector graphics, so I assume there is a bug report somewhere that talks
> about how we should fix that.
> 

bug 115439 and its see alsos--but no fix is required!

We do not use SVG icon themes natively within the VCL for building the LO
UI--*only* PNG.  Selection of an SVG icon theme package requires that all SVG
of the theme be rasterized in bulk to PNG icons of suitable size to fit the os
Desktop scale and rendering of the LO UI. Performance and quality of the SVG
rasterization is an ongoing discussion.

Simple fact is that at 100% os Desktop scale, the SVG rasterzation to PNG is
lossy.  While with HiDPI and os Desktop scaling of 200% - 400% the SVG
rasterization to PNG has high fidelity to the original SVG, while bundled PNG
are pixelated when scaled to larger size.

In packaging the PNG icon themes, the project already does the rasterization
and cleanup of the PNG icons in their Small - sc_ 16x16, Large -- lc_24x24, and
Extra large -- 32 32x32px bitmaps.

Absent native use of SVG icon themes in VCL, this SVG icon rasterization in
bulk on launch support HiDPI use at os Desktop scaling above 150%.  Lower
scaling values, just continue to use the PNG icon themes -- they have the same
source!

-- 
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/20200909/5c33ac4b/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list