Skip to content
  • hyatt's avatar
    Rework the printer font stuff a little bit so that the Font API doesn't · 58ac3806
    hyatt authored
            have to be changed.
    
            Reviewed by eseidel
    
            * WebCore.xcodeproj/project.pbxproj:
            * bridge/mac/WebCoreStringTruncator.mm:
            (truncateString):
            (+[WebCoreStringTruncator widthOfString:font:]):
            * platform/Font.cpp:
            (WebCore::Font::drawSimpleText):
            * platform/Font.h:
            * platform/TextStyle.h:
            (WebCore::TextStyle::TextStyle):
            (WebCore::TextStyle::attemptFontSubstitution):
            (WebCore::TextStyle::setRTL):
            * platform/mac/FontMac.mm:
            (WebCore::m_wordSpacing):
            (WebCore::Font::drawGlyphs):
            * platform/mac/ListBoxMac.mm:
            (itemTextRenderer):
            (groupLabelTextRenderer):
            (-[WebCoreTableView drawRow:clipRect:]):
            * platform/mac/PopUpButtonMac.mm:
            (PopUpButton::sizeHint):
            * platform/mac/TextFieldMac.mm:
            (-[NSSearchFieldCell _addStringToRecentSearches:]):
            * platform/mac/WebCoreTextRenderer.mm:
            (WebCoreDrawTextAtPoint):
            (WebCoreTextFloatWidth):
            * rendering/EllipsisBox.cpp:
            (WebCore::EllipsisBox::paint):
            * rendering/InlineTextBox.cpp:
            (WebCore::InlineTextBox::paint):
            * rendering/RenderImage.cpp:
            (WebCore::RenderImage::paint):
            * rendering/RenderListMarker.cpp:
            (WebCore::RenderListMarker::paint):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16296 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    58ac3806