diff options
author | claireho <chinglanho@gmail.com> | 2012-01-13 13:37:53 -0800 |
---|---|---|
committer | claireho <chinglanho@gmail.com> | 2012-01-13 13:37:53 -0800 |
commit | bc480c1803a799cd567547a9ab22faf61c4db32f (patch) | |
tree | 81326f331293c740b0dfaf57f0ec80ee4b548b25 /Source/WebCore/platform/graphics | |
parent | a0bdcf4b6af8cf34f8421c373f6b19b74e441db9 (diff) | |
download | external_webkit-bc480c1803a799cd567547a9ab22faf61c4db32f.zip external_webkit-bc480c1803a799cd567547a9ab22faf61c4db32f.tar.gz external_webkit-bc480c1803a799cd567547a9ab22faf61c4db32f.tar.bz2 |
Implement the TODO items for VerticalTextMap.cpp
Bug5094208 : VerticalWriting mode support.
Change the VerticalText mapping table after receiving the
glyph for vertical comma from Monotype.
Change-Id: I74a5d9922fa973c60ff3e2eb4beda25bbc52da4a
Diffstat (limited to 'Source/WebCore/platform/graphics')
-rw-r--r-- | Source/WebCore/platform/graphics/android/VerticalTextMap.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/WebCore/platform/graphics/android/VerticalTextMap.cpp b/Source/WebCore/platform/graphics/android/VerticalTextMap.cpp index 47c0613..42aa385 100644 --- a/Source/WebCore/platform/graphics/android/VerticalTextMap.cpp +++ b/Source/WebCore/platform/graphics/android/VerticalTextMap.cpp @@ -33,7 +33,6 @@ #include <wtf/RefPtr.h> static const UChar vTextCnvTable[][2] = { - // TODO: uncomment mappings once we add glyphs for vertical forms. {0x0021, 0xfe15}, // exclamation mark {0x0028, 0xfe35}, // left paren {0x0029, 0xfe36}, // right paren @@ -55,8 +54,7 @@ static const UChar vTextCnvTable[][2] = { {0x2015, 0xfe31}, // horizontal bar {0x2025, 0xfe30}, // two dot leader {0x2026, 0xfe19}, // three dot leader - // TODO: change the mapping 0x3001 -> 0xFE11 once Android has the glyph for 0xFE11. - {0x3001, 0xfe10}, // Ideographic comma + {0x3001, 0xfe11}, // Ideographic comma {0x3002, 0xfe12}, // Ideographic full stop {0x3008, 0xfe3f}, // left angle bracket {0x3009, 0xfe40}, // right angle bracket @@ -83,8 +81,7 @@ static const UChar vTextCnvTable[][2] = { {0xff5c, 0xfe31}, // fullwidth vertical line {0xff5d, 0xfe38}, // full width right curly bracket {0xff5e, 0x007c}, // tilde to vertical line - // TODO: change the mapping 0xff64 -> 0xFE11 once Android has the glyph for 0xFE11. - {0xff64, 0xfe10}, // halfwidth ideo comma + {0xff64, 0xfe11}, // halfwidth ideo comma {0xff61, 0xfe12}, // halfwidth ideo full stop }; |