DescriptionAvoid last param to CTFontCreateWithGraphicsFont.
The last parameter of CTFontCreateWithGraphicsFont (CTFontDescriptorRef
attributes) *must* be nullptr. If non-nullptr then with fonts with
variation axes, the copy will fail in CGFontVariationFromDictCallback
when it assumes kCGFontVariationAxisName is CFNumberRef which it quite
obviously is not.
TBR=reed@google.com
Blocking dev builds, just removes code.
BUG=chromium:535109
Committed: https://skia.googlesource.com/skia/+/0584631f5254add2f85d94f788d9d6115509211e
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|