![]() |
TXNSetFontDefaults |
||||
Header: | MacTextEditor.h | Carbon status: | Supported | |
Specifies the font descriptions for each script used in a text object.
OSStatus TXNSetFontDefaults ( TXNObject iTXNObject, ItemCount iCount, TXNMacOSPreferredFontDescription iFontDefaults[] );
A variable of type TXNObject. Pass the text object for the document whose fonts you want to specify.
A variable of type ItemCount. You use this to specify how many font descriptions are in the iFontDefaults array.
An array of TXNMacOSPreferredFontDescription structures that contains the font description you want to use for each script.
A result code.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)