Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

CTFontCollectionMBS class

Super class: CFObjectMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class CoreText MBS MacCG Plugin 14.2 Yes No No Yes, macOS only No
Function: The CTFontCollection opaque type represents a font collection, that is, a group of font descriptors taken together as a single object.
Font collections provide the capabilities of font enumeration, access to global and custom font collections, and access to the font descriptors comprising the collection.
Subclass of the CFObjectMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

Bulk attribute access

Constant Value Description
kCTFontCollectionCopyDefaultOptions 0 Passing this option indicates that defaults are to be used.
Available in OS X v10.7 and later.
kCTFontCollectionCopyStandardSort 2 Passing this option indicates that the return values should be sorted in standard UI order, suitable for display to the user. This is the same sorting behavior used by NSFontPanel and Font Book.
Available in OS X v10.7 and later.
kCTFontCollectionCopyUnique 1 Passing this option indicates that duplicate values should be removed from the results.
Available in OS X v10.7 and later.

Super class CFObjectMBS

Sub classes:

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

CSTransformMBS   -   CTFontDescriptorMBS

MBS Xojo tutorial videos