Carbon


TXNMacOSPreferredFontDescription

Header: MacTextEditor.h

Contains information about the preferred font, font size, and style for a given text encoding.

struct TXNMacOSPreferredFontDescription {
    UInt32 fontID; 
    Fixed pointSize; 
    TextEncoding encoding; 
    Style fontStyle;
};

Field descriptions

fontID

An unsigned 32-bit integer that specifies the ID of the preferred font specified by encoding.

pointSize

A fixed value that specifies the point size.

encoding

A variable of type TextEncoding. This is the encoding for which you are specifying a font.

fontStyle

A variable of type Style that specifies the font style to use for the encoding.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)