--===============0975328713== Content-Type: multipart/signed; boundary="nextPart8795766.hzbI6dTWZZ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart8795766.hzbI6dTWZZ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 30 July 2007 22:28:19 Matthew Woehlke wrote: > I still had problems without that, the problem is that the QTextLayout > stuff "assumes" that the pen is set to the color for dsNormal, I figured > out that I was seeing that even when attributes were always assigned. So > unless we fix where the QTextLayout is created (and I'm not convinced > that's a good idea, I'm hoping someone else will comment here) I don't > think we can get rid of that code. Although always assigning an > attribute is probably good because that's one less place to worry about > the "default" corner case. Ok, I agree with you. And it doesn't hurt anyone if we set it.. > > > which didn't really work anyway (we only set the foreground color, not > > the background nor selected-text-colors). > > I'm not sure if that's a problem, in fact I don't think it is, a pen > does not have multiple colors (maybe the painter's brush also may need > to be set but I don't think the selected colors are a problem). Anyway > the painter *should* be set right anyway, the problem seemed to be that > we changed it and then didn't restore it. I just meant that our fix wasn't complete since the background etc. weren't= =20 right.. anyway, I'll commit it and then let's hope that the problem is=20 finally solved :) --nextPart8795766.hzbI6dTWZZ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.5 (GNU/Linux) iD8DBQBGrk5r4VMHj1FGBiERAuqAAJ0YpBzdxjGHzq+xldbap5f4+QBzrgCgjDJ5 mZ5XGfzKj8T8CYZ1LUl5xmM= =BtSl -----END PGP SIGNATURE----- --nextPart8795766.hzbI6dTWZZ-- --===============0975328713== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KWrite-Devel mailing list KWrite-Devel@kde.org https://mail.kde.org/mailman/listinfo/kwrite-devel --===============0975328713==--