![]() |
FNSMatchDefaultsGet |
||||
Header: | FontSync.h | Carbon status: | Supported | |
Determines the default match options used by FontSync functions performing font matching.
FNSMatchOptions FNSMatchDefaultsGet ();
A bit mask indicating the default match options. This is the value used when the mask constant kFNSMatchDefaults is passed to FontSync functions that perform matching.
The FNSMatchDefaultsGet function retrieves the bit mask used when the mask constant kFNSMatchDefaults is passed to the functions FNSReferenceMatch, FNSProfileMatchReference, FNSReferenceMatchFonts, and FNSReferenceMatchFamilies. The bit mask value is read from a preferences file which is created when the user sets match criteria via the control panel. The preference file is maintained by the FontSync library. If there is no preferences file, or it is unreadable, the implementation-defined fallback value kFNSMatchAll is returned.
There is no API for setting the default match criteria. Your application can specify options that are different from the users preferences via the bitmask in the FontSync matching calls.
Available beginning with FontSync 1.0. In FontSync 1.0, the implementation-defined fallback value is kFNSMatchAll, that is, all defined options turned on. In other words, if the user does not set the match criteria via the control panel, FontSync uses the implementation-defined fallback value of all match criteria selected.
Supported in Carbon. Available in Carbon 1.0.2 and later when Font Sync 1.0 or later is present.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)