Bug#851930: desktop-base: Include size 3840x2160 (4k) wallpaper and lockscreen
Le 21 janvier 2017 11:14:59 GMT+01:00, Yves-Alexis Perez <firstname.lastname@example.org> a écrit :
On Thu, 2017-01-19 at 22:22 -0500, Dave Allen Barker Jr wrote:
1. For each of the themes
1.1. In thier "image" directories
1.1.1 Copy a 16:9 aspect ratio ".svg" file to "3840x2160.svg"
1.1.2 Edit the "3840x2160.svg" "svg" header "width" and "height"
attributes to "3840" and "2160" respectively
1.2. In their "gnome-background.xml"s, add an entry for the
Does it really make sense to edit the svg header anyway? Why can't you use the
original file directly, it should scale just fine?
I've also experienced obviously scaled wallpapers from SVG when the exact resolution wasn't available.
Your proposal has the problem that it requires manual user action. For desktops like Gnome and KDE which try to make this work out of the box, shipping additional resolutions will make it just work.
Besides I'm not sure choosing a svg manually will actually render the bitmap for the screen resolution, and not the svg resolution then scaling.
The best would be if DE could, in case of SVG background :
- choose the aspect ratio available that's closest to the screen's,
- render the bitmap to the closest resolution to the screen respecting that ratio,
- then crop / scale as requested.
I don't think it currently works like that in any DE, though.