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

Cherry-pick: 7cbeaae8bb42c386145cd020f714f0eac8021dc2
Approval: https://crbug.com/524646#c34
1 file changed