Changeset 74096 in webkit


Ignore:
Timestamp:
Dec 14, 2010 7:48:01 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2010-12-14 Koan-Sin Tan <koansin.tan@gmail.com>

Reviewed by Alexey Proskuryakov.

Kana should be part of CJK Ideographs in WebCore/platform/graphics/Font.cpp
https://bugs.webkit.org/show_bug.cgi?id=51012

Test if kana displayed correctly in vertical text with broken font.

  • fast/blockflow/japanese-rl-text-with-broken-font.html: Added.
  • platform/mac/fast/blockflow/japanese-rl-text-with-broken-font-expected.checksum: Added.
  • platform/mac/fast/blockflow/japanese-rl-text-with-broken-font-expected.png: Added.
  • platform/mac/fast/blockflow/japanese-rl-text-with-broken-font-expected.txt: Added.

2010-12-14 Koan-Sin Tan <koansin.tan@gmail.com>

Reviewed by Alexey Proskuryakov.

Kana should be part of CJK Ideographs in WebCore/platform/graphics/Font.cpp
https://bugs.webkit.org/show_bug.cgi?id=51012

Kana should be displayed correctly in vertical text with broken font.

Test: fast/blockflow/japanese-rl-text-with-broken-font.html

  • platform/graphics/Font.cpp: (WebCore::Font::isCJKIdeographOrSymbol): add katakana, hiraganna, and Halfwidth and Fullwidth Forms
Location:
trunk
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r74094 r74096  
     12010-12-14  Koan-Sin Tan  <koansin.tan@gmail.com>
     2
     3        Reviewed by Alexey Proskuryakov.
     4
     5        Kana should be part of CJK Ideographs in WebCore/platform/graphics/Font.cpp
     6        https://bugs.webkit.org/show_bug.cgi?id=51012
     7 
     8        Test if kana displayed correctly in vertical text with broken font.
     9
     10        * fast/blockflow/japanese-rl-text-with-broken-font.html: Added.
     11        * platform/mac/fast/blockflow/japanese-rl-text-with-broken-font-expected.checksum: Added.
     12        * platform/mac/fast/blockflow/japanese-rl-text-with-broken-font-expected.png: Added.
     13        * platform/mac/fast/blockflow/japanese-rl-text-with-broken-font-expected.txt: Added.
     14
    1152010-12-14  Ryosuke Niwa  <rniwa@webkit.org>
    216
  • trunk/WebCore/ChangeLog

    r74095 r74096  
     12010-12-14  Koan-Sin Tan  <koansin.tan@gmail.com>
     2
     3        Reviewed by Alexey Proskuryakov.
     4
     5        Kana should be part of CJK Ideographs in WebCore/platform/graphics/Font.cpp
     6        https://bugs.webkit.org/show_bug.cgi?id=51012
     7
     8        Kana should be displayed correctly in vertical text with broken font.
     9
     10        Test: fast/blockflow/japanese-rl-text-with-broken-font.html
     11
     12        * platform/graphics/Font.cpp:
     13        (WebCore::Font::isCJKIdeographOrSymbol): add katakana, hiraganna, and Halfwidth and Fullwidth Forms
     14
    1152010-12-14  Dan Bernstein  <mitz@apple.com>
    216
  • trunk/WebCore/platform/graphics/Font.cpp

    r74005 r74096  
    399399        return true;
    400400   
     401    // Hiragana
     402    if (c >= 0x3040 && c <= 0x309F)
     403        return true;
     404
     405    // Katakana
     406    if (c >= 0x30A0 && c <= 0x30FF)
     407        return true;
     408
    401409    // Bopomofo
    402410    if (c >= 0x3100 && c <= 0x312F)
     
    419427        return true;
    420428
     429    // Halfwidth and Fullwidth Forms
     430    // Usually only used in CJK
     431    if (c >= 0xFF00 && c <= 0xFFEF)
     432        return true;
     433
    421434    // Emoji.
    422435    if (c >= 0x1F200 && c <= 0x1F6F)
Note: See TracChangeset for help on using the changeset viewer.