[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 07:09:59 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit fd3ab63aecfbcdebc55b698319d35e97da920829
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Nov 27 20:56:55 2002 +0000

            Fixed measurement error for Ahem font (and any font that
            has a tiny fractional value). 3112745, 3112742
    
            * WebCoreSupport.subproj/WebTextRenderer.m:
            (-[WebTextRenderer initWithFont:]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2895 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index e40ba03..14b55bd 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,11 @@
+2002-11-27  Richard Williamson   <rjw at apple.com>
+
+        Fixed measurement error for Ahem font (and any font that
+        has a tiny fractional value). 3112745, 3112742
+         
+        * WebCoreSupport.subproj/WebTextRenderer.m:
+        (-[WebTextRenderer initWithFont:]):
+
 2002-11-26  Chris Blumenberg  <cblu at apple.com>
 
 	Fixed: 3090834 - Launch WMP (Window Media Player) when encountering WMP content
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index e40ba03..14b55bd 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,3 +1,11 @@
+2002-11-27  Richard Williamson   <rjw at apple.com>
+
+        Fixed measurement error for Ahem font (and any font that
+        has a tiny fractional value). 3112745, 3112742
+         
+        * WebCoreSupport.subproj/WebTextRenderer.m:
+        (-[WebTextRenderer initWithFont:]):
+
 2002-11-26  Chris Blumenberg  <cblu at apple.com>
 
 	Fixed: 3090834 - Launch WMP (Window Media Player) when encountering WMP content
diff --git a/WebKit/WebCoreSupport.subproj/WebTextRenderer.m b/WebKit/WebCoreSupport.subproj/WebTextRenderer.m
index 6904972..38d95b6 100644
--- a/WebKit/WebCoreSupport.subproj/WebTextRenderer.m
+++ b/WebKit/WebCoreSupport.subproj/WebTextRenderer.m
@@ -407,7 +407,7 @@ static BOOL bufferTextDrawing = NO;
     UniChar c = ' ';
     spaceGlyph = [self extendCharacterToGlyphMapToInclude: c];
     spaceWidth = widthForGlyph(self, glyphToWidthMap, spaceGlyph);
-    adjustedSpaceWidth = (float)ceil(spaceWidth);
+    adjustedSpaceWidth = (float)CEIL_TO_INT(spaceWidth);
     
     return self;
 }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list