Some blurriness in gnome desktop

Martin Sourada martin.sourada at gmail.com
Wed Oct 28 12:45:53 UTC 2009


On Wed, 2009-10-28 at 12:35 +0100, Martin Sourada wrote:
> On Mon, 2009-10-26 at 09:48 -0400, Matthias Clasen wrote:
> > On Mon, 2009-10-26 at 13:47 +0100, Martin Sourada wrote:
> > 
> > > 
> > > I think fixing these would nicely fit with your "polishes for F12"
> > > project.
> > > 
> > 
> > Yes, thanks for pointing these out. 
> Matthias, 
> 
> going through the tooltips patch, I found these problems:
> in fill_background():
> +  draw_round_rect (cr,
> +                   1.0, 1, 1, radius,
> +                   widget->allocation.width - 2,
> +                   widget->allocation.height - 2);
> should be
> +  draw_round_rect (cr,
> +                   1.0, 0.5, 0.5, radius,
> +                   widget->allocation.width - 1,
> +                   widget->allocation.height - 1);
So, just built and tested -> this is enough to make it look crisp.

> and in update_shape()
> +      draw_round_rect (cr, 1.0, 0, 0, 4, width, height);
> you are ignoring radius setting.
Hrm, this one is hard to get looking good... The best setting I've came
up with is radius + 1 instead of 4.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-desktop-list/attachments/20091028/fbeee4fd/attachment.sig>


More information about the Fedora-desktop-list mailing list