Skip to content
  • rjw's avatar
    · 7077c2f4
    rjw authored
            Use float character measurement to determine selection
            region.  Necessary to ensure accuracy of selection
            region.  First step towards weaning khtml off int
            measurements.
    
            * khtml/rendering/font.cpp:
            (Font::floatWidth):
            (Font::floatCharacterWidth):
            * khtml/rendering/font.h:
            * khtml/rendering/render_text.cpp:
            (TextSlave::checkSelectionPoint):
            * kwq/KWQFontMetrics.mm:
            (QFontMetrics::floatWidth):
            (QFontMetrics::floatCharacterWidth):
            * kwq/WebCoreTextRenderer.h:
            * kwq/qt/qfontmetrics.h:
    
            Use float character measurement to determine selection
            region.  Necessary to ensure accuracy of selection
            region.  First step towards weaning khtml off int
            measurements.
    
            * WebCoreSupport.subproj/IFImageRenderer.m:
            (-[IFImageRenderer tileInRect:fromPoint:]):
            Cleaned up use of loadStatus.
            * WebCoreSupport.subproj/IFTextRenderer.m:
            (-[IFTextRenderer slowFloatWidthForCharacters:stringLength:fromCharacterPostion:numberOfCharacters:applyRounding:]):
            (-[IFTextRenderer floatWidthForCharacters:stringLength:characterPosition:]):
            (-[IFTextRenderer floatWidthForCharacters:stringLength:fromCharacterPosition:numberOfCharacters:applyRounding:attemptFontSubstitution:]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7077c2f4