Runtime decision for QSvgRenderer workarounds
Jakob Petsovits
jpetso at gmx.at
Tue May 27 15:59:23 BST 2008
On Tuesday, 27. May 2008, Jakob Petsovits wrote:
> - KIconLoader and KIconTheme #undef KDE_QT_SVG_RENDERER_FIXED.
> This mainly means SVGs are not used at all unless no PNG icon exists
> at all.
>
> The latter effect is kinda uncomfortable, as many SVG themes ship with PNGs
> for small sizes, and when an application demands a 128x128 version of that
> icon then the most appropriate PNG (say, 22x22) is scaled up to that size.
> Or it's not scaled at all and ridiculously small in comparison to other
> icons (imagine a list of files in Dolphin).
Visual demonstration:
- without patch:
http://files.petsovits.at/jakob/qsvgrenderer-workaround/compiletime.png
- with patch:
http://files.petsovits.at/jakob/qsvgrenderer-workaround/runtime.png
(Actually, both of those have been taken with the patch, I just changed
Tango's index.theme in order to get the first one.)
Applications requesting fixed-size icons will get something like the kalarm
icon in those screenshots (although this case has another cause - that is,
a missing Oxygen icon).
Shooting screens for the greater good,
Jakob
More information about the kde-core-devel
mailing list