2010-05-23 Shinichiro Hamaji <hamaji@chromium.org>
authorhamaji@chromium.org <hamaji@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 May 2010 06:22:17 +0000 (06:22 +0000)
committerhamaji@chromium.org <hamaji@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 May 2010 06:22:17 +0000 (06:22 +0000)
commit4aaaeda84bc7cb62699919d08a939b39b66981c0
treeb0164665b00367fc89f83ad62e16aa0c922365c3
parentc4d67f1af87f4e85026d626f3469e5d824afc07e
2010-05-23  Shinichiro Hamaji  <hamaji@chromium.org>

        Reviewed by Alexey Proskuryakov.

        0x5C of EUC-JP is not Yen Sign but U+005C
        https://bugs.webkit.org/show_bug.cgi?id=24906

        * editing/selection/find-yensign-and-backslash-with-japanese-fonts-expected.txt: Added.
        * editing/selection/find-yensign-and-backslash-with-japanese-fonts.html: Added.
        * fast/text/backslash-to-yen-sign-dynamic.html: Added.
        * fast/text/backslash-to-yen-sign.html: Added.
        * platform/chromium/test_expectations.txt:
        * platform/gtk/fast/text/backslash-to-yen-sign-dynamic-expected.txt: Added.
        * platform/gtk/fast/text/backslash-to-yen-sign-expected.txt: Added.
        * platform/mac/fast/text/backslash-to-yen-sign-dynamic-expected.checksum: Added.
        * platform/mac/fast/text/backslash-to-yen-sign-dynamic-expected.png: Added.
        * platform/mac/fast/text/backslash-to-yen-sign-dynamic-expected.txt: Added.
        * platform/mac/fast/text/backslash-to-yen-sign-expected.checksum: Added.
        * platform/mac/fast/text/backslash-to-yen-sign-expected.png: Added.
        * platform/mac/fast/text/backslash-to-yen-sign-expected.txt: Added.
        * platform/qt/fast/text/backslash-to-yen-sign-dynamic-expected.txt: Added.
        * platform/qt/fast/text/backslash-to-yen-sign-expected.txt: Added.
        * platform/win/fast/text/backslash-to-yen-sign-dynamic-expected.txt: Added.
        * platform/win/fast/text/backslash-to-yen-sign-expected.txt: Added.
2010-05-23  Shinichiro Hamaji  <hamaji@chromium.org>

        Reviewed by Alexey Proskuryakov.

        0x5C of EUC-JP is not Yen Sign but U+005C
        https://bugs.webkit.org/show_bug.cgi?id=24906

        Tests: editing/selection/find-yensign-and-backslash-with-japanese-fonts.html
               fast/text/backslash-to-yen-sign-dynamic.html
               fast/text/backslash-to-yen-sign.html

        * GNUmakefile.am:
        * WebCore.gyp/WebCore.gyp:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.vcproj/WebCoreCommon.vsprops:
        * WebCore.xcodeproj/project.pbxproj:
        * platform/graphics/Font.cpp:
        (WebCore::Font::Font):
        (WebCore::Font::operator=):
        * platform/graphics/Font.h:
        (WebCore::Font::needsTranscoding):
        * platform/text/CharacterNames.h:
        * platform/text/transcoder/FontTranscoder.cpp: Added.
        (WebCore::FontTranscoder::FontTranscoder):
        (WebCore::FontTranscoder::converterType):
        (WebCore::FontTranscoder::convert):
        (WebCore::FontTranscoder::needsTranscoding):
        (WebCore::fontTranscoder):
        * platform/text/transcoder/FontTranscoder.h: Added.
        (WebCore::FontTranscoder::):
        * rendering/RenderText.cpp:
        (WebCore::RenderText::updateNeedsTranscoding):
        (WebCore::RenderText::styleDidChange):
        (WebCore::RenderText::setTextInternal):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
32 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/selection/find-yensign-and-backslash-with-japanese-fonts-expected.txt [new file with mode: 0644]
LayoutTests/editing/selection/find-yensign-and-backslash-with-japanese-fonts.html [new file with mode: 0644]
LayoutTests/fast/text/backslash-to-yen-sign-dynamic.html [new file with mode: 0644]
LayoutTests/fast/text/backslash-to-yen-sign.html [new file with mode: 0644]
LayoutTests/platform/chromium/test_expectations.txt
LayoutTests/platform/gtk/fast/text/backslash-to-yen-sign-dynamic-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/fast/text/backslash-to-yen-sign-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/text/backslash-to-yen-sign-dynamic-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/text/backslash-to-yen-sign-dynamic-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/text/backslash-to-yen-sign-dynamic-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/text/backslash-to-yen-sign-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/text/backslash-to-yen-sign-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/text/backslash-to-yen-sign-expected.txt [new file with mode: 0644]
LayoutTests/platform/qt/fast/text/backslash-to-yen-sign-dynamic-expected.txt [new file with mode: 0644]
LayoutTests/platform/qt/fast/text/backslash-to-yen-sign-expected.txt [new file with mode: 0644]
LayoutTests/platform/win/fast/text/backslash-to-yen-sign-dynamic-expected.txt [new file with mode: 0644]
LayoutTests/platform/win/fast/text/backslash-to-yen-sign-expected.txt [new file with mode: 0644]
WebCore/ChangeLog
WebCore/GNUmakefile.am
WebCore/WebCore.gyp/WebCore.gyp
WebCore/WebCore.gypi
WebCore/WebCore.pro
WebCore/WebCore.vcproj/WebCore.vcproj
WebCore/WebCore.vcproj/WebCoreCommon.vsprops
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/platform/graphics/Font.cpp
WebCore/platform/graphics/Font.h
WebCore/platform/text/CharacterNames.h
WebCore/platform/text/transcoder/FontTranscoder.cpp [new file with mode: 0644]
WebCore/platform/text/transcoder/FontTranscoder.h [new file with mode: 0644]
WebCore/rendering/RenderText.cpp