Complex spaces with synthetic bold are too wide
[WebKit-https.git] / Source / WebCore / ChangeLog
index 4b9ec9b..aad1d80 100644 (file)
@@ -1,3 +1,17 @@
+2011-09-30  Ned Holbrook  <nholbrook@apple.com>
+
+        Complex spaces with synthetic bold are too wide
+        https://bugs.webkit.org/show_bug.cgi?id=69033
+
+        Reviewed by Dan Bernstein.
+
+        Test: fast/text/complex-synthetic-bold-space-width.html
+
+        * platform/graphics/mac/ComplexTextController.cpp:
+        (WebCore::ComplexTextController::adjustGlyphsAndAdvances): Subtract synthetic bold offset from spaceWidth.
+        * platform/graphics/win/UniscribeController.cpp:
+        (WebCore::UniscribeController::shapeAndPlaceItem): Ditto.
+
 2011-09-30  Pavel Feldman  <pfeldman@google.com>
 
         Web Inspector: [chromium] expose inspector protocol version to the embedder.