commit | 7cbeaae8bb42c386145cd020f714f0eac8021dc2 | [log] [tgz] |
---|---|---|
author | bungeman <bungeman@google.com> | Tue Sep 22 09:54:56 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Sep 22 09:54:57 2015 -0700 |
tree | 95f76a53d9ef0833b7c3f6397c67ec4bd3ac5dc5 | |
parent | 59ea019fa0f61351f90e6145de35ad10aae92fb8 [diff] |
Avoid CTFontCreateCopyWithAttributes. It appears that CTFontCreateCopyWithAttributes and CTFontCreateCopyWithSymbolicTraits share similar issues with the default font on OSX10.10. CTFontCreateWithFontDescriptor cannot be used as it will not work with webfonts. Since this is all low-level use, create the CTFonts from the underlying CGFonts directly. BUG=chromium:524646 Committed: https://skia.googlesource.com/skia/+/d3296717b9d0930237be3502b82ab94d0b4d177f Review URL: https://codereview.chromium.org/1344213004