Function

CTFontGetSymbolicTraits

Returns the symbolic traits of the given font.

Declaration

CTFontSymbolicTraits CTFontGetSymbolicTraits(CTFontRef font);

Parameters

font

The font reference.

Return Value

The symbolic traits of the font. This is equivalent to the kCTFontSymbolicTrait value of the traits dictionary.

Discussion

See the Constants section of CTFontDescriptor for a definition of the font traits.

See Also

Getting Font Data

CTFontCopyFontDescriptor

Returns the normalized font descriptor for the given font reference.

CTFontCopyAttribute

Returns the value associated with an arbitrary attribute of the given font.

CTFontGetSize

Returns the point size of the given font.

CTFontGetMatrix

Returns the transformation matrix of the given font.

CTFontCopyTraits

Returns the traits dictionary of the given font.