summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/FontPlatformData.h
Commit message (Collapse)AuthorAgeFilesLines
* Add Harfbuzz support for fallback fonts (redux)Russell Brenner2011-08-231-0/+2
| | | | | | | | | | | | | | | | | | | When Skia resorts to fallback fonts for non-latin characters, it retains the font ID of originally requested font, concealing the fact that a fallback was invoked. Harfbuzz needs to know the fallback font ID to read the correct GSUB/GPOS tables from the fallback font file so that these complex languages can be properly rendered. This change uses the script recognized by Harfbuzz as a means to surmise the fallback font that would be used by Skia and then injects that font file as a replacement for the originally requested font. Fallback fonts are loaded once and reused multiple times. An earlier implementation did not cache fonts in this way, causing large pages to run out of files for mmap streaming. Bug: 5087744 Change-Id: I61222829209d9bd6df465d37923ccff3681c2c54
* Revert "Add Harfbuzz support for system fallback fonts"Russell Brenner2011-08-181-2/+0
| | | | | | | | | | On large pages, too many font file references are open for mmap streaming. Rolling back this feature while I add caching. This reverts commit cfcbe02678eabf19b6b904be61d9991d4515ecb6. Bug: 5179817 Change-Id: I689db7794c945d548a90006b9484467b784d4b11
* Add Harfbuzz support for system fallback fontsRussell Brenner2011-08-161-0/+2
| | | | | | | | | | | | | | | When Skia resorts to fallback fonts for non-latin characters, it retains the font ID of originally requested font, concealing the fact that a fallback was invoked. Harfbuzz needs to know the fallback font ID to read the correct GSUB/GPOS tables from the fallback font file so that these complex languages can be properly rendered. This change uses the script recognized by Harfbuzz as a means to surmise the fallback font that would be used by Skia and then injects that font file as a replacement for the originally requested font. Bug: 5087744 Change-Id: I3a3469bcd589ee796c9b5a828fb47d40ecb38738
* Merge WebKit at r82507: Stub out FontPlatformData::setOrientation()Steve Block2011-06-081-0/+1
| | | | | | | See http://trac.webkit.org/changeset/80582 and http://trac.webkit.org/changeset/80589 Change-Id: I77941a880d7bb8347efcf6969a378ed941fce0e6
* Fix some include guards in Android filesSteve Block2011-06-081-2/+2
| | | | | | | | | This will become relevant after we merge beyond http://trac.webkit.org/changeset/81977 (and its follow-up build fixes r81982, r81988, r81990, r82018) which relies on all platforms' instances of FontPlatformData.h using the correct include guard. Change-Id: I58ec4c8ee23698c41d86794333d603b95f303764
* Merge WebKit at r75315: Move Android-specific WebCore files to SourceSteve Block2011-05-121-0/+123
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