Skip to content
  • rjw's avatar
    Fixed many font substitution related bugs, at least including: · 8720c9a0
    rjw authored
            3006966, 3026675, 3071106, and more... (each of these bugs
            has a list of related bugs).
    
            Needs little more cleanup to correctly deal with non base characters.
    
            * WebCoreSupport.subproj/WebTextRenderer.h:
            * WebCoreSupport.subproj/WebTextRenderer.m:
            (-[WebTextRenderer drawCharacters:stringLength:fromCharacterPosition:toCharacterPosition:atPoint:withPadding:withTextColor:backgroundColor:]):
            (-[WebTextRenderer floatWidthForCharacters:stringLength:fromCharacterPosition:numberOfCharacters:withPadding:applyRounding:attemptFontSubstitution:widths:]):
            (-[WebTextRenderer _floatWidthForCharacters:stringLength:fromCharacterPosition:numberOfCharacters:withPadding:applyRounding:attemptFontSubstitution:widths:fonts:glyphs:numGlyphs:]):
    
            Against Darin's better judgement prevent extra layout when not in live resize.  If
            this introduces any regressions I owe darin a good bottle of wine.
    
            * WebView.subproj/WebDynamicScrollBarsView.m:
            (-[WebDynamicScrollBarsView updateScrollers]):
    
            Updated to reflect new calling parameter semantic of floatCharacterWidths(),
            which now returns the entire array of widths up the last character requested.
    
            * khtml/rendering/render_text.cpp:
            (TextSlave::checkSelectionPoint):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    8720c9a0