blurry icons in kourou due to not using svg, and wrong size options in xdg.IconTheme.getIconPath

Bug #289056 reported by Oliver Grawert
2
Affects Status Importance Assigned to Milestone
kourou (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: kourou

kourou currently uses gtk.ICON_SIZE_BUTTON in the xdg.IconTheme.getIconPath function. this is not a gtk function, so doesnt use gtk.ICON_SIZE_BUTTON. Also this function is capable of loading svg which usually renders a lot better at 64 pixels (which the icon in the end gets scaled to) an approriate fix to the blurry icons in ubuntus mid rc image would be the following code change and seeding an icon theme (i.e. human-icon-theme brings openoffice icons with 64px) that provides svg icons as well as icons that already come at 64 pixel sizes so the scaling only has to be used as the worst case solution. With this solution nearly all icons get rendered crisp and clear (alarm clock being an exception here).

--- kourou.py 2008-10-24 20:17:47.000000000 +0200
+++ /usr/lib/hildon-desktop/kourou.py 2008-10-25 12:10:53.000000000 +0200
@@ -107,8 +107,8 @@
                 self.model.append(entry)

     def fetch_icon(self, icon_name, theme):
- icon = xdg.IconTheme.getIconPath(icon_name, gtk.ICON_SIZE_BUTTON, \
- theme, ["png", "xpm"])
+ icon = xdg.IconTheme.getIconPath(icon_name, 64, \
+ theme, ["svg", "png", "xpm"])
         pixbuf = None
         if icon:
             pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(icon, 64, 64)

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kourou - 0.11-0ubuntu1

---------------
kourou (0.11-0ubuntu1) intrepid; urgency=low

  * New upstream release
    - Stops blurry icons, and uses SVG as well. (LP: #289056)

 -- Steve Kowalik <email address hidden> Sat, 25 Oct 2008 22:46:28 +1100

Changed in kourou:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.