commit | d3296717b9d0930237be3502b82ab94d0b4d177f | [log] [tgz] |
---|---|---|
author | bungeman <bungeman@google.com> | Fri Sep 18 20:13:06 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Sep 18 20:13:06 2015 -0700 |
tree | c388a58783eb8e4776bea9355a3640454b630e62 | |
parent | 2440fcd9413cf6c235352eb540404e98e573219d [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 Review URL: https://codereview.chromium.org/1344213004