[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-16 Thread Martin Pitt
Switching to KMS and plymouth will be the real fix for this, in Karmic
and beyond. With current usplash and the kernel's svga support it's next
to impossible to get this right, and we will stop using usplash in the
next release anyway.

** Changed in: usplash (Ubuntu)
 Assignee: Martin Pitt (pitti) => (unassigned)
   Status: Confirmed => Won't Fix

** Summary changed:

- Logo is blurred on resolutions without an explicit theme
+ Logo is blurred on non-native resolutions on LCD screens

-- 
Logo is blurred on non-native resolutions on LCD screens
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-16 Thread Martin Pitt
We'll not change anything further in usplash in Jaunty.

** Changed in: usplash (Ubuntu Jaunty)
   Status: In Progress => Confirmed
   Target: ubuntu-9.04-beta => None

** Changed in: usplash (Ubuntu Jaunty)
   Status: Confirmed => Won't Fix

-- 
Logo is blurred on non-native resolutions on LCD screens
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-11 Thread Kenneth Wimer
Still working on this after review of the current artwork and code

** Changed in: usplash (Ubuntu Jaunty)
   Status: Fix Released => In Progress

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-11 Thread Colin Watson
** Changed in: usplash-theme-ubuntu (Ubuntu Jaunty)
   Importance: Undecided => Low

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-06 Thread Mat Tomaszewski
It looks like this bug is not fixable with the currently available technology. 
Martin, Ken, thanks for having a bash at it!

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-05 Thread Hernando Torque
Due to the smaller logo size now used for my screen, the stretching is
far less noticable (the "not-really-scaling"-factor stays the same, of
course):

http://dl.getdropbox.com/u/673326/DSCF1691.JPG

I had to add the compressed logo to see the difference:

http://dl.getdropbox.com/u/673326/DSCF1693_crop.JPG

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-05 Thread Kenneth Wimer
Well, better put would be to say "if the vesa mode isn't supported
correctly there might be visual artefacts" because it is not really
scaling, although the effect is similar in the end (albeit worse than
scaling). Any given combination of monitor/graphics card with the wrong
resolution will lead to different problems. We assume that the
resolution will be correctly defined at boot and things will work as
well as possible with the given resolutions (greatly increased in the
newest theme package). The new plymouth code depending on kernel mode
settings will fix this (Karmic or K+1).

I think that the newest code and theme fixes many of these problems,
testing is required, however.

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-05 Thread Hernando Torque
So if there doesn't exist a vesa mode for the native screen resolution
(and one can't force the monitor to not stretch the output) there is no
fix other than using a compressed image, right?

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-05 Thread Kenneth Wimer
As stated before, until the new theme is uploaded there will be no
noticable effect (which is good for legacy themes, eh?)

If you are interested in testing the new theme (baked fresh today!)
build the source from http://code.launchpad.net/~ubuntu-art-pkg/usplash-
theme-ubuntu/ubuntu . Make sure that you are running Jaunty with the
latest usplash updates or build them yourself from the source...bzr get
lp:usplash, debuild, install 3 debs in the right order, then install
theme.

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-05 Thread Alexander Jones
xres=1440
yres=900

in usplash.conf, yet logo still appears stretched after pitti's updates
(looks like 4:3 -> 16:10)

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-05 Thread Leonard Michlmayr
Martin, thank you for you answer. On my machine - which might be too
little of a default installation - I don't get any usplash screen if I
don't set a vga kernel option. Maybe I have to install svgalib.

(How are users expected to set the console video mode? Startup-manager?)

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-05 Thread Martin Pitt
Leonard, please note that we don't set a vesa mode on the kernel command
line by default. usplash entirely relies on a correct usplash.conf, and
an existing vesa mode for this.

It seems that the problem for Hernando and pitwalker is that
usplash/svgalib picks a wrong video mode.

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-05 Thread pitwalker
cat /proc/cmdline
root=UUID=21e742bf-fbd7-4c5b-82f4-92bdf09a2bd1 ro quiet splash
lspci |grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller (rev 0c)
(on my DELL INSPIRON 1520 the logo is stretched under Intrepid and Jaunty)

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-05 Thread Hernando Torque
My notebook's native resolution is 1280*768, /etc/usplash.conf had to be
corrected, logo/theme (usplash takes the 4:3 version) is stretched
(using the default kernel line root=... ro quiet splash).

I know that my video card doesn't list a wide screen VESA video mode -
could this be related?

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-05 Thread Leonard Michlmayr
Dear Pitwalker

Thank you for your report. This might be related to the vesa mode.
Please tell me the output of the command 'cat /proc/cmdline'.

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-05 Thread pitwalker
Dear Martin Pitt,

my laptop's native resolution is 1280x800
I use usplash 0.5.30 and usplash-theme-ubuntu 0.21
I reconfigured usplash, that automatically generates a good /etc/usplash.conf
but the logo is STILL STRETCHED HORIZONTALLY :-(

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Michael Marley
The usplash.conf is set up to use native resolution, but for some reason
it doesn't unless I force the framebuffer mode in the kernel boot
commands.

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Martin Pitt
I keep the -theme-ubuntu task open, since Ken said he wanted to look
into defining more themes for more resolutions, and actually use the new
feature (just supply two or three logos and place them appropriately).

** Changed in: usplash-theme-ubuntu (Ubuntu Jaunty)
 Assignee: (unassigned) => Kenneth Wimer (kwwii)
   Status: New => Triaged

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Martin Pitt
I now updated all usplash themes for the new usplash above and uploaded
them to Jaunty.

Michael, this new usplash version will not change any scaling. As I
explained above, that requires a correct /etc/usplash.conf, i. e. it
should use your monitor's native resolution. Wasn't that set up
correctly for you when installing? If you do

  sudo rm /etc/usplash.conf
  sudo dpkg-reconfigure usplash

under X.org, what does it configure in /etc/usplash.conf?

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Michael Marley
Nevermind, I just realized that I had to force the console into
1680x1050 mode for it to work right on my laptop.

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Michael Marley
I have tried with the packages from your PPA, but I still see the
stretched image.

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Launchpad Bug Tracker
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 PittWed, 04 Mar 2009 21:41:36
+0100

** Changed in: usplash (Ubuntu Jaunty)
   Status: Fix Committed => Fix Released

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Martin Pitt
** Changed in: usplash (Ubuntu Jaunty)
   Status: In Progress => Fix Committed

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Martin Pitt
** Also affects: usplash-theme-ubuntu (Ubuntu)
   Importance: Undecided
   Status: New

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Martin Pitt
Michael Marley [2009-03-04 13:49 -]:
> Will you also upload the theme changes for Kubuntu and Xubuntu, please?

Once I got told that I should upload this, I'll adapt and upload all
usplash themes in the archive, of course.

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Kenneth Wimer
Martin: Yes, I think we can commit this. For now I assume there is
little change to the theme. I'll get to work adapting the design to this
format and put a theme package together by tomorrow.

Michael: I have discussed this with the Kubuntu people and they have
basically agreed to use the same format and design as the Ubuntu
usplash. Naturally the same offer can be made to Xubuntu (or anyone
else, really).

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Michael Marley
Will you also upload the theme changes for Kubuntu and Xubuntu, please?

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Mat Tomaszewski
Thanks again for your help on this Martin - much appreciated!

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Martin Pitt
I also confirmed how usplash.conf is written: the installer reconfigures
the usplash package. usplash's postinst essentially calls "xdpyinfo
|grep dimensions" and writes the resolution to usplash.conf.

So we can promise the following: On every computer where X.org looks
correct during installation, usplash will, too. This should be the case
on the vast majority of systems nowadays, and if X.org comes up with a
non-ideal resolution you can always use the resolution capplet to fix
it.

We can assert that usplash will *always* look scaled and blurry when
booting the desktop live system, since at that point we can't do
reliable monitor detection. This will eventually be handled with KMS,
which isn't quite ready yet and out of scope for Jaunty.

Under those constraints, should I upload above usplash theme change, and
do you need anything else for Jaunty?

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Martin Pitt
To use only a logo, you could do something like

extern struct usplash_pixmap pixmap_usplash_logo_small;

[...]

struct usplash_theme usplash_theme = {
.version = THEME_VERSION, /* ALWAYS set this to THEME_VERSION, 
 it's a compatibility check */
.next = &usplash_theme_640_480,
.ratio = USPLASH_16_9,

/* Background and font */
.pixmap = &pixmap_usplash_logo_small,

/* theme resolution; if 0, use width/height of pixmap */
.theme_width = 640,
.theme_height = 400,

/* position of pixmap */
.pixmap_x = 200,
.pixmap_y = 80,

  [...]

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Martin Pitt
This debdiff for usplash-theme-ubuntu (now also uploaded into my PPA)
demonstrates how usplash themes have to be changed to use the new theme
definition, but not change any behaviour.

** Attachment added: "debdiff for usplash-theme-ubuntu"
   
http://launchpadlibrarian.net/23420578/usplash-theme-ubuntu.usplash-theme-4.debdiff

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Martin Pitt
I put the new usplash into my PPA, for playing around:

 usplash (0.5.30~ppa1) 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: (see #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.

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Martin Pitt
Just talked to Ken, and there are actually two different aspects:

 - The patch I talked about above is merely making it easy to define
themes, and supply plenty of them for different resolutions without
having to duplicate the background images.

 - If usplash.conf does not have the monitor's native resolution, then
the image will appear scaled on LCDs, unless you configured your monitor
to show the native size with borders (which many external TFTs can do,
but few laptop screens). That's an entirely different problem, though,
and will finally be fixed with kernel mode settings in Karmic or later.
I'll check how/what currently generates usplash.conf, and whether we can
improve this.

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64147] Re: Logo is blurred on resolutions without an explicit theme

2009-03-04 Thread Martin Pitt
For this, I added these fields to the theme definition:

   /* theme resolution; if 0, use width/height of pixmap */
   short theme_width;
   short theme_height;

   /* position of pixmap */
   short pixmap_x;
   short pixmap_y;

Kenneth, Mat, please confirm whether this is what you need.

-- 
Logo is blurred on resolutions without an explicit theme
https://bugs.launchpad.net/bugs/64147
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs