Skip to content
  • mrobinson@webkit.org's avatar
    2011-02-15 Martin Robinson <mrobinson@igalia.com> · c2442f9e
    mrobinson@webkit.org authored
            Reviewed by Xan Lopez.
    
            [Freetype] Better map CSS font weight to Fontconfig font weight
            https://bugs.webkit.org/show_bug.cgi?id=54323
    
            Update the results of this test, which is now passing. Also update results for
            all other tests which have different results now.
    
            * platform/gtk/fast/css/font-weight-1-expected.checksum:
            * platform/gtk/fast/css/font-weight-1-expected.png:
            * platform/gtk/fast/css/font-weight-1-expected.txt:
    2011-02-15  Martin Robinson  <mrobinson@igalia.com>
    
            Reviewed by Xan Lopez.
    
            [Freetype] Better map CSS font weight to Fontconfig font weight
            https://bugs.webkit.org/show_bug.cgi?id=54323
    
            * platform/graphics/freetype/FontCacheFreeType.cpp:
            (WebCore::fontWeightToFontconfigWeight): Added this helper to map between CSS and
            Fontconfig font weights.
            (WebCore::FontCache::createFontPlatformData): Use the new helper instead of just
            deciding between bold and regular.
    2011-02-15  Martin Robinson  <mrobinson@igalia.com>
    
            Reviewed by Xan Lopez.
    
            [Freetype] Better map CSS font weight to Fontconfig font weight
            https://bugs.webkit.org/show_bug.cgi?id=54323
    
            Add the WeightWatcher fonts to the list of sourced fonts when intializing
            DRT. This will allow us to pass tests that use WeightWatcher.
    
            * DumpRenderTree/gtk/DumpRenderTree.cpp:
            (initializeFonts): Source the WebkitWeightWatcher fonts.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78614 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c2442f9e