summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/VerticalTextMap.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Changed VerticalTextMap class to meet webkit coding style.claireho2011-10-181-4/+3
| | | | | | | | Bug 5094208 : VerticalWring mode support for Books Japan. Changed VerticalTextMap class to meet webkit coding style for https://android-git.corp.google.com/g/#/c/141357/. Change-Id: Ifce9968702b7ebe6d7a7da563645ec7d5e639438
* Fallback handle if vertical glyphs are missing.claireho2011-10-111-0/+104
Bug 5094208 : browser VerticalWritingMode support. Some punctuation has to change its glyph in vertical writing mode. For example, dash in vertical text is a vertical bar. In current Android system fonts and fallback fonts, none of them have the substitute tables for vertical writing mode. We call a conversion function that converts the punctuation to the Unicode Vertical Form (0xFE10 - 0xFE19) or to the closest glyphs as alternative when vertical substitute tables are absent in fonts. Otherwise, we use Harfbuzz to do the vertical glyph shapping. Change-Id: If1d31bb72aaaba45ed50bbb75d6246cfa30e3428