Carbon/font.cpp issue on Mavericks 10.9
|Reported by:||jl-shoutr||Owned by:||csomor|
|Keywords:||osx font mavericks unstable||Cc:|
On 10.9 I have experienced the same issue as expressed here but no one seems to have submitted a ticket.
On wx-3.0.0 and 10.9 the following warnings are printing
CoreText performance note: Client called CTFontCreateWithName() using name ".Lucida Grande UI" and got font with PostScript name ".LucidaGrandeUI". For best performance, only use PostScript names when calling this API.
Although perfectly fine on 10.8, our application became very unstable on 10.9 and would crash before even loading. Following the advice in the above link, by changing the line
wxCFStringRef familyName( (CFStringRef) CTFontDescriptorCopyAttribute(descr, kCTFontFamilyNameAttribute));
wxCFStringRef familyName( (CFStringRef) CTFontDescriptorCopyAttribute(descr, kCTFontNameAttribute));
Using a new build of wx, the application is now stable on 10.9, and works as before on 10.8.
Change History (6)
comment:4 Changed 22 months ago by SC
- Resolution set to fixed
- Status changed from accepted to closed