Changed a slight thing in fonttraits.m.
This commit is contained in:
parent
3108f65b39
commit
a7bbbc8bb9
|
@ -170,12 +170,15 @@ static void trySecondaryOS2Values(CTFontDescriptorRef desc, uiDrawFontDescriptor
|
||||||
CFRelease(font);
|
CFRelease(font);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO explicitly mark these as undocumented
|
||||||
|
extern const CFStringRef kCTFontPreferredSubFamilyNameKey;
|
||||||
|
extern const CFStringRef kCTFontPreferredFamilyNameKey;
|
||||||
|
|
||||||
static const CFStringRef subfamilyKeys[] = {
|
static const CFStringRef subfamilyKeys[] = {
|
||||||
kCTFontSubFamilyNameKey,
|
kCTFontSubFamilyNameKey,
|
||||||
// TODO explicitly mark these as undocumented
|
kCTFontPreferredSubFamilyNameKey,
|
||||||
CFSTR("CTFontPreferredSubFamilyName"),
|
|
||||||
kCTFontFullNameKey,
|
kCTFontFullNameKey,
|
||||||
CFSTR("CTFontPreferredFamilyName"),
|
kCTFontPreferredFamilyNameKey,
|
||||||
kCTFontFamilyNameKey,
|
kCTFontFamilyNameKey,
|
||||||
NULL,
|
NULL,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue