diff options
author | Russell Brenner <russellbrenner@google.com> | 2011-08-09 17:16:42 -0700 |
---|---|---|
committer | Russell Brenner <russellbrenner@google.com> | 2011-08-16 14:22:10 -0700 |
commit | cfcbe02678eabf19b6b904be61d9991d4515ecb6 (patch) | |
tree | 140dd8f6a945b66dd96a090f04f2629500c510df /Source/WebCore/platform/graphics/GlyphBuffer.h | |
parent | a19896cc5d9573a17b6ec206befb3b4ec6b2256b (diff) | |
download | external_webkit-cfcbe02678eabf19b6b904be61d9991d4515ecb6.zip external_webkit-cfcbe02678eabf19b6b904be61d9991d4515ecb6.tar.gz external_webkit-cfcbe02678eabf19b6b904be61d9991d4515ecb6.tar.bz2 |
Add Harfbuzz support for system fallback fonts
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
Diffstat (limited to 'Source/WebCore/platform/graphics/GlyphBuffer.h')
0 files changed, 0 insertions, 0 deletions