2622fb80bac785bc80c698cc7397e160b95db1e7 |
|
31-May-2012 |
Victoria Lease <violets@google.com> |
Fix fake bold for fallback fonts. With no knowledge of the actual SkTypeface used to render text before render-time, the best we can do is turn fake bold on for all text and simply ignore it at render-time if the SkTypeface's style is bold. Also the complex FontPlatformData hashing mechanism needed to account for fake styles, as the versions of FontPlatformData with fake styles enabled are otherwise indistinguishable from the normal style version Bug: 6522642 Change-Id: Ic0e9f1bbd8cae9fdd3a6d1d015bb9224c8be545c
/external/webkit/Source/WebCore/platform/graphics/android/fonts/FontCacheAndroid.cpp
|