Skip to content
  • pierre.rossi@gmail.com's avatar
    [Qt] Add WOFF support when using zlib · 796b9ac7
    pierre.rossi@gmail.com authored
    https://bugs.webkit.org/show_bug.cgi?id=112805
    
    Reviewed by Allan Sandfeld Jensen.
    
    Source/WebCore:
    
    Covered by existing test:
    fast/css/font-face-woff.html
    
    * Target.pri: Conditional inclusion of WOFFFileFormat
    * platform/graphics/qt/FontCustomPlatformDataQt.cpp:
    (WebCore::createFontCustomPlatformData): Try to unpack WOFF data, otherwise spit out a warning and bail.
    (WebCore::FontCustomPlatformData::supportsFormat): accept WOFF webfonts if USE(ZLIB).
    
    LayoutTests:
    
    * platform/qt-5.0-wk2/TestExpectations: keep skipped for WK2 due to a WTR bug.
    * platform/qt/TestExpectations: unskip font-face-woff.html
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    796b9ac7