From kde-core-devel Sat May 01 13:40:19 2010 From: Ingo =?iso-8859-15?q?Kl=F6cker?= Date: Sat, 01 May 2010 13:40:19 +0000 To: kde-core-devel Subject: Re: keyboard2 moved to kdereview Message-Id: <201005011540.20569 () thufir ! ingo-kloecker ! de> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=127272128100690 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart2400754.izAPeMC8C1" --nextPart2400754.izAPeMC8C1 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On Friday 30 April 2010, Andriy Rysin wrote: > 2010/4/29 Aaron J. Seigo > > On April 25, 2010, Andriy Rysin wrote: > > > drawing the text I need to find a way to leave the taskbar > > > background (but this was also the problem before). > >=20 > > looking at the code in Flags, i think i can see the problem: you > > probably just > > need to fill the pixmap first with Qt::transparent so the > > background is, well, > > transparent :) then you can paint the text, flag, etc over top of > > that. >=20 > yep, I found it today and already pushed the code for transparency > The problem with text over the flag is that it's hard to find the > right way to paint readable text with all the possible flag colors > and their combination. So for now it'll be either text or flag, so > far the early feedback was pretty positive. Drawing a dark outline around white text usually is a good solution for=20 this problem. To get something like an outline which also looks good for=20 small fonts you could draw the text in black, then blur it and then draw=20 the text in white over the blurred black text. Regards, Ingo --nextPart2400754.izAPeMC8C1 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEABECAAYFAkvcL0QACgkQGnR+RTDgudhYWgCgjuEhjHePDTvd/I5i8C7AczdK ZKsAniQWWQlxE/lqxaJ9I+/jonOd4rGw =3Gqf -----END PGP SIGNATURE----- --nextPart2400754.izAPeMC8C1--