Fwd: [PATCH] render_text.cpp

David Faure faure at kde.org
Fri Nov 22 17:58:33 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- ----------  Forwarded Message  ----------

Subject: [PATCH] render_text.cpp
Date: Friday 22 November 2002 18:51
From: Pascal Létourneau <pletourn at globetrotter.net>
To: faure at kde.org

Salut,

<a href="dummy.html" style="padding: 50px;display: block;">dummy.html</a>

Pascal Létourneau

Index: render_text.cpp
===================================================================
RCS file: /home/kde/kdelibs/khtml/rendering/render_text.cpp,v
retrieving revision 1.195
diff -u -3 -p -r1.195 render_text.cpp
- --- render_text.cpp     2002/11/13 21:20:57     1.195
+++ render_text.cpp     2002/11/22 16:54:56
@@ -62,13 +62,6 @@ void TextSlave::printDecoration( QPainte
     _ty += m_y;

     int width = m_width - 1;
- -
- -    if( begin )
- -       width -= p->paddingLeft() + p->borderLeft();
- -
- -    if ( end )
- -        width -= p->paddingRight() + p->borderRight();
- -
     int underlineOffset = ( pt->fontMetrics().height() + m_baseline ) / 2;
     if(underlineOffset <= m_baseline) underlineOffset = m_baseline+1;




- -------------------------------------------------------

- -- 
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
Get the latest KOffice - http://download.kde.org/stable/koffice-1.2/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE93nBJ72KcVAmwbhARAuzAAJ9EzJqvuPdgSocEBDUpKLcIa2z61ACfQZGY
SrBcqiyZ/1hVrQPqVBV0yvI=
=lURH
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list