[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    khtml(?) rendering problems & workaround
From:       Torsten Kasch <tk () Genetik ! Uni-Bielefeld ! DE>
Date:       2001-10-24 13:08:29
[Download RAW message or body]

Hi,

although no non-Solaris users seem to have this problem, there's a
redering problem in Konqueror's about:-Page (and {tips,specs}.html as well).
There's a small gap between the globe logo and the Konqueror page
title (although on a different platform, this MAY be related to Bug #25744).
The same effect can be seen in Helpcenter.

System info:

KDE-Version:	2.2.1 (same effects for 2.2), compiled from sources
Qt-Version:	2.3.1
Compiler:	gcc version 2.95.2 19991024 (release)
OS/Platform:	Solaris 8 (i386 with XFree86 4.0.2 and NO aa fonts,
		Sparc with Sun's X-Server, I tried various different
		fonts on both platforms)

Workaround: apply the diffs attached to this mail to
$KDEDIR/share/apps/konqueror/about/{intro,specs,tips}.html and
$KDEDIR/share/apps/khelpcenter/{intro.html.in,glossary.html.in} respectively.
Those patches add a space in front of various &nbsp; tags
and remove some misplaced COLSPAN statements from some <TD> tags.

I consider this a "workaround" because I suspect that there must be a more
generic problem here: I'm not sure if this is really related, but I don't
get &nbsp; displayed correctly in Konqueror (that means, there's NO space
displayed at all, although it becomes visible when its cutted and pasted
somewhere else). I already tried to modify kdelibs/kdecore/kentities.gperf
(replacing 0xa0 with 0x20) which results in correct rendering of &nbsp;
but the space IS breakable then...

Perhaps someone with more insight should have a look into this? Or did
I misconfigure something here?

Anyway, I've received positive results from one other user from the
kde-solaris list that the diffs solve the Konqueror rendering problem for him
as well.

cheers,
	Torsten

-- 
   Torsten Kasch                               tk@Genetik.Uni-Bielefeld.DE
        Biologie VI/Zentrum f. Genomforschung
        Universität Bielefeld                  Phone: +49 521 106-4828
        D-33594 Bielefeld                      Fax:   +49 521 106-5626

["konq-2.2.1.udiff" (text/plain)]

--- intro.html	2001/03/09 06:57:49	1.1
+++ intro.html	2001/10/16 11:46:39
@@ -23,7 +23,7 @@
 	<TR>
 		<TD WIDTH=190 COLSPAN=2 ROWSPAN=2> &nbsp;</TD>
 		<TD BGCOLOR=#DDDDDD><IMG WIDTH=309 HEIGHT=77 SRC="konqueror.png"></TD>
-		<TD BGCOLOR=#DDDDDD BACKGROUND="lines.png">&nbsp;</TD>
+		<TD BGCOLOR=#DDDDDD BACKGROUND="lines.png"> &nbsp;</TD>
 	</TR>
 
 	<TR>
@@ -45,11 +45,11 @@
  
 	<TR>
 		<TD COLSPAN=2 WIDTH=190></TD>
-		<TD COLSPAN=2 class="shadow1" HEIGHT=9 COLSPAN=4></TD>
+		<TD COLSPAN=2 class="shadow1" HEIGHT=9></TD>
 	</TR>
 	<TR>
 		<TD COLSPAN=2 WIDTH=190></TD>
-		<TD COLSPAN=2 HEIGHT=41 COLSPAN=4></TD>
+		<TD COLSPAN=2 HEIGHT=41></TD>
 	</TR>
 </TABLE>
 
--- tips.html	2001/03/23 11:26:22	1.1
+++ tips.html	2001/10/16 11:42:02
@@ -23,7 +23,7 @@
 	<TR>
 		<TD WIDTH=190 COLSPAN=2 ROWSPAN=2> &nbsp;</TD>
 		<TD BGCOLOR=#DDDDDD><IMG WIDTH=309 HEIGHT=77 SRC="konqueror.png"></TD>
-		<TD BGCOLOR=#DDDDDD BACKGROUND="lines.png">&nbsp;</TD>
+		<TD BGCOLOR=#DDDDDD BACKGROUND="lines.png"> &nbsp;</TD>
 	</TR>
 
 	<TR>
@@ -45,11 +45,11 @@
  
 	<TR>
 		<TD COLSPAN=2 WIDTH=190></TD>
-		<TD COLSPAN=2 class="shadow1" HEIGHT=9 COLSPAN=4></TD>
+		<TD COLSPAN=2 class="shadow1" HEIGHT=9></TD>
 	</TR>
 	<TR>
 		<TD COLSPAN=2 WIDTH=190></TD>
-		<TD COLSPAN=2 HEIGHT=41 COLSPAN=4></TD>
+		<TD COLSPAN=2 HEIGHT=41></TD>
 	</TR>
 </TABLE>
 
--- specs.html	2001/07/29 04:56:40	1.1
+++ specs.html	2001/10/16 11:43:47
@@ -23,7 +23,7 @@
 	<TR>
 		<TD WIDTH=190 COLSPAN=2 ROWSPAN=2> &nbsp;</TD>
 		<TD BGCOLOR=#DDDDDD><IMG WIDTH=309 HEIGHT=77 SRC="konqueror.png"></TD>
-		<TD BGCOLOR=#DDDDDD BACKGROUND="lines.png">&nbsp;</TD>
+		<TD BGCOLOR=#DDDDDD BACKGROUND="lines.png"> &nbsp;</TD>
 	</TR>
 
 	<TR>
@@ -45,11 +45,11 @@
  
 	<TR>
 		<TD COLSPAN=2 WIDTH=190></TD>
-		<TD COLSPAN=2 class="shadow1" HEIGHT=9 COLSPAN=4></TD>
+		<TD COLSPAN=2 class="shadow1" HEIGHT=9></TD>
 	</TR>
 	<TR>
 		<TD COLSPAN=2 WIDTH=190></TD>
-		<TD COLSPAN=2 HEIGHT=41 COLSPAN=4></TD>
+		<TD COLSPAN=2 HEIGHT=41></TD>
 	</TR>
 </TABLE>
 

["khelp-2.2.1.udiff" (text/plain)]

--- intro.html.in	2001/10/16 11:52:27	1.2
+++ intro.html.in	2001/10/19 12:40:12
@@ -38,11 +38,11 @@
  
 	<TR>
 		<TD COLSPAN=2 WIDTH=176></TD>
-		<TD COLSPAN=2 class="shadow1" HEIGHT=9></TD>
+		<TD COLSPAN=2 class="shadow1" HEIGHT=9 COLSPAN=4></TD>
 	</TR>
 	<TR>
 		<TD COLSPAN=2 WIDTH=176></TD>
-		<TD COLSPAN=2 HEIGHT=46></TD>
+		<TD COLSPAN=2 HEIGHT=46 COLSPAN=4></TD>
 	</TR>
 </TABLE>
 
--- glossary.html.in	2001/10/16 11:53:29	1.2
+++ glossary.html.in	2001/10/19 12:41:42
@@ -38,11 +38,11 @@
  
 	<TR>
 		<TD COLSPAN=2 WIDTH=176></TD>
-		<TD COLSPAN=2 class="shadow1" HEIGHT=9></TD>
+		<TD COLSPAN=2 class="shadow1" HEIGHT=9 COLSPAN=4></TD>
 	</TR>
 	<TR>
 		<TD COLSPAN=2 WIDTH=176></TD>
-		<TD COLSPAN=2 HEIGHT=46></TD>
+		<TD COLSPAN=2 HEIGHT=46 COLSPAN=4></TD>
 	</TR>
 </TABLE>
 

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic