Platforms to show: All Mac Windows Linux Cross-Platform

CTFontCollectionMBS.Available as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreText MBS MacCG Plugin 14.2 Yes No No Yes, macOS only No
Function: Whether this class is available.
Notes: Returns true in OS X v10.5 and later.

Feedback, Comments & Corrections

CTFontCollectionMBS.CreateCopyWithFontDescriptors(original as CTFontCollectionMBS, queryDescriptors() as CTFontDescriptorMBS, options as dictionary) as CTFontCollectionMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared 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.CreateFromAvailableFonts(options as Dictionary) as CTFontCollectionMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreText MBS MacCG Plugin 14.2 Yes No No Yes, macOS only No
Function: Returns a new font collection containing all available fonts.
Notes:
options: The options dictionary.

Returns a new collection containing all fonts available to the current application.

Feedback, Comments & Corrections

CTFontCollectionMBS.CreateWithFontDescriptors(queryDescriptors() as CTFontDescriptorMBS, options as dictionary) as CTFontCollectionMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreText MBS MacCG Plugin 14.2 Yes No No Yes, macOS only No
Function: Returns a new collection based on the array of font descriptors.
Notes:
An array of font descriptors to use for matching.

options: The options dictionary. See constant option keys.
Returns this function creates a new collection based on the provided font descriptors. The contents of this collection is defined by matching the provided descriptors against all available font descriptors.

Feedback, Comments & Corrections

CTFontCollectionMBS.kCTFontCollectionDisallowAutoActivationOption as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreText MBS MacCG Plugin 14.2 Yes No No Yes, macOS only No
Function: One of the Collection Matching Options.
Notes:
Option key to avoid auto-activating fonts.
Specify this option key in the options dictionary with a non-zero value to disallow searches for missing fonts (font descriptors returning no results).

Feedback, Comments & Corrections

CTFontCollectionMBS.kCTFontCollectionIncludeDisabledFontsOption as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreText MBS MacCG Plugin 14.2 Yes No No Yes, macOS only No
Function: One of the Collection Matching Options.
Notes: Specify this option key in the options dictionary with a non-zero value to enable matching of disabled fonts. You can pass font descriptors specifying disabled fonts to CTFontManagerEnableFontDescriptors, but you cannot use such a font descriptor to query font attributes from the system database or create a CTFontMBS.

Feedback, Comments & Corrections

CTFontCollectionMBS.kCTFontCollectionRemoveDuplicatesOption as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreText MBS MacCG Plugin 14.2 Yes No No Yes, macOS only No
Function: One of the Collection Matching Options.
Notes: Option key to specify filtering of duplicates.

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo Chart Plugins