Skip to content
  • rjw's avatar
    Fixed 3107007. Letter-spacing is causing width to be miscalculated. · 7d0b05a1
    rjw authored
            This also fixed some selection problems.
    
            * khtml/rendering/font.cpp:
            (Font::width):
    
    
            Fixed 3107007.  Letter-spacing is causing width to be miscalculated.
            This also fixed some selection problems.
    
            * WebCoreSupport.subproj/WebTextRenderer.m:
            (-[WebTextRenderer _floatWidthForCharacters:stringLength:fromCharacterPosition:numberOfCharacters:withPadding:applyRounding:attemptFontSubstitution:widths:fonts:glyphs:numGlyphs:letterSpacing:wordSpacing:]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2796 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7d0b05a1