• agl@chromium.org's avatar
    2010-04-29 Adam Langley <agl@chromium.org> · 69191bba
    agl@chromium.org authored
            Reviewed by David Levin.
            This patch adds support for WOFF in Chromium. Since Chromium
            already transcodes all OpenType files for security reasons we
            are adding WOFF support into the transcoder.
            * css/CSSFontFaceSrcValue.cpp:
              Recognise "woff" as a font-face format value (guarded by
              ENABLE(OPENTYPE_SANITIZER) at this point)
            * platform/graphics/opentype/OpenTypeSanitizer.cpp:
              Change so that the transcoded font can be larger than the original.
              (WOFF files are compressed, so the transcoded TTF is typically
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58517 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Skipped 227 KB