Comment 56 for bug 64147

Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Logo is blurred on resolutions without an explicit theme

This bug was fixed in the package usplash - 0.5.30

---------------
usplash (0.5.30) jaunty; urgency=low

  * Providing a background image for all possible resolutions has become too
    cumbersome. Thus change theme definitions to be able to provide just a
    logo, its screen position, and an explicit theme size: (LP: #64147)
    - usplash-theme.h: Add new fields theme_width, theme_height, pixmap_x,
      pixmap_y. Bump THEME_VERSION for this.
    - usplash-theme.h: Add new functions usplash_theme_width() and
      usplash_theme_height() which usplash and themes should use instead of an
      explicit pixmap->width/height. These functions will return
      theme_{width,height} and fall back to the pixmap's dimensions if the
      theme size is 0.
    - libusplash.c: Implement above two functions, update the code to use them
      instead of the pixmap dimensions, and add the pixmap_{x,y} offset when
      drawing pixmap.
    - This will require all usplash themes to be rebuilt, define above
      four fields, and replace theme->pixmap->width() with
      usplash_theme_width(theme) (likewise for height). If you want to retain
      full screen pixmaps, just set all of those fields to 0.

 -- Martin Pitt <email address hidden> Wed, 04 Mar 2009 21:41:36 +0100