From bc480c1803a799cd567547a9ab22faf61c4db32f Mon Sep 17 00:00:00 2001 From: claireho Date: Fri, 13 Jan 2012 13:37:53 -0800 Subject: 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 --- Source/WebCore/platform/graphics/android/VerticalTextMap.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Source/WebCore/platform/graphics') 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 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 }; -- cgit v1.1