WebCore:
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Jan 2008 05:39:39 +0000 (05:39 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Jan 2008 05:39:39 +0000 (05:39 +0000)
commit657385fd71e0fe50ff5e747332d6817856ed782e
tree4e117f96168b87f244eda4664f92093ca27de931
parent1ab3060fa7b750f639b3eddea2d821fef26ddea1
WebCore:

        Reviewed by Sam Weinig.

        - change the interpretation of unicode-range values in "from-to" form
          to include the "to" character.

        Test: fast/css/font-face-unicode-range.html

        * css/CSSParser.cpp:
        (WebCore::CSSParser::parseFontFaceUnicodeRange):
        * css/CSSSegmentedFontFace.cpp:
        (WebCore::CSSSegmentedFontFace::overlayRange):
        * platform/graphics/GlyphPageTreeNode.cpp:
        (WebCore::GlyphPageTreeNode::initializePage):
        * platform/graphics/SegmentedFontData.cpp:
        (WebCore::SegmentedFontData::fontDataForCharacter):
        (WebCore::SegmentedFontData::containsCharacters):

LayoutTests:

        Reviewed by Sam Weinig.

        - add a test for the unicode-range @font-face property
        - update @font-face rules in existing tests after changing unicode-range
          values in "from-to" form to include the "to" character

        * fast/css/font-face-unicode-range.html: Added.
        * fast/css/rtl-ordering.html:
        * fast/text/international/resources/Mac-compatible-font-fallback.css:
        * platform/mac-leopard/fast/css/font-face-unicode-range-expected.checksum: Added.
        * platform/mac-leopard/fast/css/font-face-unicode-range-expected.png: Added.
        * platform/mac/fast/css/font-face-unicode-range-expected.txt: Added.
        * platform/win/css2.1/resources/Mac-compatible-font-fallback.css:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
13 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/css/font-face-unicode-range.html [new file with mode: 0644]
LayoutTests/fast/css/rtl-ordering.html
LayoutTests/fast/text/international/resources/Mac-compatible-font-fallback.css
LayoutTests/platform/mac-leopard/fast/css/font-face-unicode-range-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac-leopard/fast/css/font-face-unicode-range-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/css/font-face-unicode-range-expected.txt [new file with mode: 0644]
LayoutTests/platform/win/css2.1/resources/Mac-compatible-font-fallback.css
WebCore/ChangeLog
WebCore/css/CSSParser.cpp
WebCore/css/CSSSegmentedFontFace.cpp
WebCore/platform/graphics/GlyphPageTreeNode.cpp
WebCore/platform/graphics/SegmentedFontData.cpp