Platforms to show: All Mac Windows Linux Cross-Platform

CTFontCollectionMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreText MBS MacCG Plugin 14.2 Yes No No Yes, macOS only No
Function: The private constructor.

Feedback, Comments & Corrections

CTFontCollectionMBS.CopyWithFontDescriptors(queryDescriptors() as CTFontDescriptorMBS, options as dictionary) as CTFontCollectionMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreText MBS MacCG Plugin 14.2 Yes No No Yes, macOS only No
Function: Returns a copy of the original collection augmented with the given new font descriptors.
Notes:
queryDescriptors: An array of font descriptors to augment those of the original collection.
options: The options dictionary.

Returns a copy of the original font collection augmented by the new font descriptors and options.

The new font descriptors are merged with the existing descriptors to create a single set.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

CTFontCollectionMBS.ExclusionDescriptors as CTFontDescriptorMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreText MBS MacCG Plugin 14.2 Yes No No Yes, macOS only No
Function: Returns the array of descriptors to exclude from the match.

Feedback, Comments & Corrections

CTFontCollectionMBS.FontAttribute(attributeName as string, options as Integer) as Dictionary()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreText MBS MacCG Plugin 14.2 Yes No No Yes, macOS only No
Function: Returns an array of font descriptor attribute values.
Notes:
attributeName: The attribute to retrieve for each descriptor in the collection.
options: Options to alter the return value.

This function returns a retained reference to an array, or nil on error. The caller is responsible for releasing the array. The array contains one value for each descriptor, in the same order as the results from CreateMatchingDescriptors. When the kCTFontCollectionCopyUnique is set, duplicate values will be removed. When kCTFontCollectionCopyStandardSort is set, the values will be sorted in standard UI order.

See also:

Feedback, Comments & Corrections

CTFontCollectionMBS.FontAttribute(attributeNames() as string, options as Integer) as Dictionary()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreText MBS MacCG Plugin 14.2 Yes No No Yes, macOS only No
Function: Returns an array of dictionaries containing font descriptor attribute values.
Notes: This function returns a retained reference to a array, or nil on error. The caller is responsible for releasing the array. The array contains one value for each descriptor, in the same order as the results from CreateMatchingDescriptors. When the kCTFontCollectionCopyUnique is set, duplicate values will be removed. When kCTFontCollectionCopyStandardSort is set, the values will be sorted in standard UI order.

See also:

Feedback, Comments & Corrections

CTFontCollectionMBS.MatchingFontDescriptors(options as dictionary = nil) as CTFontDescriptorMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreText MBS MacCG Plugin 14.2 Yes No No Yes, macOS only No
Function: Returns an array of font descriptors matching the collection.

Feedback, Comments & Corrections

CTFontCollectionMBS.MatchingFontDescriptorsForFamily(familyName as string, options as dictionary = nil) as CTFontDescriptorMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreText MBS MacCG Plugin 14.2 Yes No No Yes, macOS only No
Function: Returns an array of font descriptors matching the specified family, one descriptor for each style in the collection.

Feedback, Comments & Corrections

CTFontCollectionMBS.MatchingFontDescriptorsSorted(tag as Variant) as CTFontDescriptorMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreText MBS MacCG Plugin 14.2 Yes No No Yes, macOS only No
Function: Returns the array of matching font descriptors sorted with the callback function.
Notes:
This function returns an array of font descriptors matching the criteria of the collection and sorted by the results of the sorting callback function.

Calls FontCollectionSortDescriptors in CoreTextMBS class.

Feedback, Comments & Corrections

CTFontCollectionMBS.MutableCopy as CTMutableFontCollectionMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreText MBS MacCG Plugin 14.2 Yes No No Yes, macOS only No
Function: Returns a mutable copy of the original collection.

Feedback, Comments & Corrections

CTFontCollectionMBS.QueryDescriptors as CTFontDescriptorMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreText MBS MacCG Plugin 14.2 Yes No No Yes, macOS only No
Function: Returns the array of descriptors to match.

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS MacCG Plugin.

The biggest plugin in space...




Links
MBS FileMaker Plugins