[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

rjw rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:38:18 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 89cb475b83f42c30a0dc7199c7a7e2faa6f72304
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Sep 11 20:33:14 2002 +0000

            Remove ceiling of text width at end of fragment.  This was screwing up
            intra fragment text measurements.
    
            Selection of justified text is still screwed up.  This is a fundamental problem
            in khtml and will require  a rewrite of their justification code.  Konq has the
            same problems selecting justified text.  The drawing of code applies the justification
            factor, but checking the selection doesn't add the justification factor, so selection
            will be incorrect by the justification amount.
    
            * WebCoreSupport.subproj/WebTextRenderer.m:
            (-[WebTextRenderer floatWidthForCharacters:stringLength:fromCharacterPosition:numberOfCharacters:applyRounding:attemptFontSubstitution:]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2037 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 7999687..f804942 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,17 @@
+2002-09-11  Richard Williamson (Local)  <rjw at apple.com>
+
+        Remove ceiling of text width at end of fragment.  This was screwing up
+        intra fragment text measurements.
+        
+        Selection of justified text is still screwed up.  This is a fundamental problem
+        in khtml and will require  a rewrite of their justification code.  Konq has the
+        same problems selecting justified text.  The drawing of code applies the justification
+        factor, but checking the selection doesn't add the justification factor, so selection
+        will be incorrect by the justification amount.
+        
+        * WebCoreSupport.subproj/WebTextRenderer.m:
+        (-[WebTextRenderer floatWidthForCharacters:stringLength:fromCharacterPosition:numberOfCharacters:applyRounding:attemptFontSubstitution:]):
+
 2002-09-11  Darin Adler  <darin at apple.com>
 
         * WebView.subproj/WebFrame.m: (-[WebFrame reload:]): Use the current
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 7999687..f804942 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,3 +1,17 @@
+2002-09-11  Richard Williamson (Local)  <rjw at apple.com>
+
+        Remove ceiling of text width at end of fragment.  This was screwing up
+        intra fragment text measurements.
+        
+        Selection of justified text is still screwed up.  This is a fundamental problem
+        in khtml and will require  a rewrite of their justification code.  Konq has the
+        same problems selecting justified text.  The drawing of code applies the justification
+        factor, but checking the selection doesn't add the justification factor, so selection
+        will be incorrect by the justification amount.
+        
+        * WebCoreSupport.subproj/WebTextRenderer.m:
+        (-[WebTextRenderer floatWidthForCharacters:stringLength:fromCharacterPosition:numberOfCharacters:applyRounding:attemptFontSubstitution:]):
+
 2002-09-11  Darin Adler  <darin at apple.com>
 
         * WebView.subproj/WebFrame.m: (-[WebFrame reload:]): Use the current
diff --git a/WebKit/WebCoreSupport.subproj/WebTextRenderer.m b/WebKit/WebCoreSupport.subproj/WebTextRenderer.m
index 6069cab..0220b5b 100644
--- a/WebKit/WebCoreSupport.subproj/WebTextRenderer.m
+++ b/WebKit/WebCoreSupport.subproj/WebTextRenderer.m
@@ -871,9 +871,6 @@ cleanup:
         totalWidth += lastWidth;       
     }
 
-    if (applyRounding)
-        totalWidth += ceil(totalWidth) - totalWidth;
-        
     return totalWidth;
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list