b6e8a9925b7f868ea5ec82ee07b00671b23600f8 |
|
10-Apr-2012 |
claireho <chinglanho@gmail.com> |
Vertical glyph doesn't work on typeface font. Bug: 6270583 - Vertical glyph doesn't work after switching from ARM gcc4.4 to gcc4.6. Fixed 3 problems: 1. substituteWithVerticalGlyphs() does not check the error code for HB_GSUB_Select_Script() call. In gcc4.4, the scriptIndex is default to 0 but not in gcc4.6. 2. Removed the redundant checks for isCJKIdeograph() calls. 3. Convert text to vertical forms if substituteWithVerticalGlyphs() returns an error. Change-Id: I3b0778affa3e13b608e60190266880c1f47f905a
/external/webkit/Source/WebCore/platform/graphics/android/fonts/GlyphMapAndroid.cpp
|