2012-03-01 14:50:56 |
Matthew Paul Thomas |
description |
Currently USC uses icons delivered by app-install-data-ubuntu for applications in Main and Universe, app-install-data-partner for applications in Partner, and the icon_url property in the Json for commercial applications.
Unfortunately, the app-install-data* packages don't include icons that would be appropriate for the 96*96px space on the software item screen, because that would increase the size of those packages. So it shows a small icon scaled up, which looks ugly.
It would be simpler and more scalable if USC got the icons for any package, regardless of source, from a server in a consistent way. Perhaps USC would request something like
<http://software-center.ubuntu.com/icons/ubuntu/dists/precise/main/s/stellarium?size=96> or
<http://software-center.ubuntu.com/icons/96/ubuntu/dists/precise/main/s/stellarium>,
and the the server would return the icon of the nearest size to what was requested.
If USC requested any size that there wasn't an exact icon for, but there was an SVG icon available, maybe the server would redirect to the SVG one (so that USC could realize "oh, I have that cached already"). |
Currently USC uses icons delivered by app-install-data-ubuntu for applications in Main and Universe, app-install-data-partner for applications in Partner, and the icon_url property in the Json for commercial applications.
Unfortunately, the app-install-data* packages don't include icons that would be appropriate for the 96*96px space on the software item screen, because that would increase the size of those packages. So it shows a small icon scaled up, which looks ugly.
Examples:
Audacity https://launchpadlibrarian.net/94876609/audacity.png
Bluefish https://launchpadlibrarian.net/94876677/bluefish.png
LyX https://launchpadlibrarian.net/94876707/lyx.png
It would be simpler and more scalable if USC got the icons for any package, regardless of source, from a server in a consistent way. Perhaps USC would request something like
<http://software-center.ubuntu.com/icons/ubuntu/dists/precise/main/s/stellarium?size=96> or
<http://software-center.ubuntu.com/icons/96/ubuntu/dists/precise/main/s/stellarium>,
and the the server would return the icon of the nearest size to what was requested.
If USC requested any size that there wasn't an exact icon for, but there was an SVG icon available, maybe the server would redirect to the SVG one (so that USC could realize "oh, I have that cached already"). |
|