Implement font aliasing of family names for Courier/Courier New,
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 May 2006 05:52:35 +0000 (05:52 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 May 2006 05:52:35 +0000 (05:52 +0000)
commita863dab6d8a4a434a12d9df3b0ca35cfd9cbf7c4
tree31dfb12cd07a43b535027d20aa7c6af7338f524a
parent4a4c729756c9b098d63a5349f6d80e5b48a3586c
    Implement font aliasing of family names for Courier/Courier New,
        Arial/Helvetica, and Times/Times New Roman.  This behavior matches
        WinIE and Firefox.

        Reviewed by maciej

        Test cases not really possible, since they would have to rely on people
        not having the fonts installed (so not having installed Office).

        * platform/FontCache.cpp:
        (WebCore::alternateFamilyName):
        (WebCore::FontCache::getCachedFontPlatformData):
        * platform/FontCache.h:
        * rendering/RenderContainer.cpp:
        (WebCore::RenderContainer::removeLeftoverAnonymousBoxes):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/FontCache.cpp
WebCore/platform/FontCache.h
WebCore/rendering/RenderContainer.cpp