commit | 12bd4a014745acc3cffc20f23952bbb6f8477351 | [log] [tgz] |
---|---|---|
author | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Dec 19 19:34:22 2013 +0000 |
committer | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Dec 19 19:34:22 2013 +0000 |
tree | 03423afc71e13b6fc3b8a296c2c843aa4e4c60ee | |
parent | a6ecbb8414b017fcb262e645fffc5a3129ecdf43 [diff] |
Provide last resort for fCapHeight in SkFontHost_FreeType::onGetAdvancedTypefaceMetrics. This was a pre-existing issue, but r12689 uncovered it in more cases. Since there was no last resort, fonts without a cap height used uninitialized data as their cap height here. R=robertphillips@google.com Review URL: https://codereview.chromium.org/114773004 git-svn-id: http://skia.googlecode.com/svn/trunk@12779 2bbb7eff-a529-9590-31e7-b0007b416f81