summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/FontDataAndroid.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Reapply CL for "Vertical Writing Mode" support.claireho2011-10-171-0/+11
| | | | | | | | | | | | | | | | | | | | Bug 5094208 - Browser does not handle Japanese text in vertical writing mode. This changeset syncs up with Chrome's implementation for vertical text rendering. It 1. Adds fontOrientation and textOrientation to FontPlatformData. 2. Rotates the text in drawGlyphs for vertical writing mode. Here are the changesets for Chrome's vertical writinig mode support: 1. http://trac.webkit.org/changeset/74232 2. http://trac.webkit.org/changeset/80610 3. http://trac.webkit.org/changeset/80654 This CL re-applies reverted CL136684(https://android-git.corp.google.com/g/#/c/136684/). CL136684 was rollbacked because 2 constructors in FontPlatformDataAndroid.cpp did not have the init for fontOrientation and textOrientation. That caused the inconsistent comparison while FontCache.cpp tries to get the cached font and falls into an infinite loop in HashTable.h:656 Change-Id: I45700dcc8c9266e1b5ae8e588205f24825ca4317
* Revert "Support "Vertical Writing Mode"."John Reck2011-10-121-11/+0
| | | This reverts commit 5403113c5aa5d55a05ea001f562829e907632178
* Support "Vertical Writing Mode".claireho2011-09-201-0/+11
| | | | | | | | | Bug 5094208 - Browser does not handle Japanese text in vertical writing mode. This changeset syncs up with Chrome's implementation for vertical text rendering. It 1. Adds fontOrientation and textOrientation to FontPlatformData. 2. Re-layout the text in drawGlyphs for vertical writing mode. Change-Id: Icac88a464b4b25b05c758a4e24c1827e0a7a0c91
* Merge WebKit at r78450: Use new FontMetricsSteve Block2011-05-251-14/+12
| | | | | | | | | See http://trac.webkit.org/changeset/76442 Note that this change also switches from integer to floating point precision for font metrics. This is a TODO on other platforms. Change-Id: I5bcecd5abbe1be8e138aaf25102487b73c936b77
* Merge WebKit at r75315: Move Android-specific WebCore files to SourceSteve Block2011-05-121-0/+133
This moves files in the following WebCore subdirectories ... - bindings/js - bindings/v8/custom - plugins/android - platform/android - platform/graphics/android - page/ - css/ - dom/ - loader/archive/android