Ticket #46536: dont-warn-missing-fallback-fonts.patch
File dont-warn-missing-fallback-fonts.patch, 774 bytes (added by RJVB (René Bertin), 10 years ago) |
---|
-
qtbase/src/platformsupport/fontdatabases/mac/
old new 446 446 QCFType<CTFontDescriptorRef> fontDescriptor = (CTFontDescriptorRef) CTFontDescriptorCreateWithNameAndSize((CFStringRef)psName, 12.0); 447 447 QCFString familyName = (CFStringRef) CTFontDescriptorCopyAttribute(fontDescriptor, kCTFontFamilyNameAttribute); 448 448 QString name = QCFString::toQString(familyName); 449 #ifdef QT_DEBUG 449 450 if (name.isEmpty()) 450 451 qWarning() << "QCoreTextFontDatabase: Failed to resolve family name for PostScript name " << QCFString::toQString((CFStringRef)psName); 452 #endif 451 453 452 454 return name; 453 455 }