Skip to content
  • mitz@apple.com's avatar
    Kerning never occurs between a space and the following glyph · fd2cf34c
    mitz@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=97269
    
    Reviewed by Tim Horton.
    
    Source/WebCore: 
    
    Covered by several existing tests.
    
    * platform/graphics/mac/ComplexTextController.cpp:
    (WebCore::ComplexTextController::adjustGlyphsAndAdvances): Changed to not reset the advance
    of a space, and added a comment about how this also needs to be fixed for other characters
    that are treated as spaces.
    
    LayoutTests: 
    
    * platform/mac/fast/text/emphasis-expected.png:
    * platform/mac/fast/text/emphasis-expected.txt:
    * platform/mac/fast/text/sticky-typesetting-features-expected.png:
    * platform/mac/fast/text/sticky-typesetting-features-expected.txt:
    * platform/mac/fast/text/thai-combining-mark-positioning-expected.png:
    * platform/mac/fast/text/thai-combining-mark-positioning-expected.txt:
    * platform/mac/fast/writing-mode/text-orientation-basic-expected.png:
    * platform/mac/fast/writing-mode/text-orientation-basic-expected.txt:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129176 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    fd2cf34c