Platforms to show: All Mac Windows Linux Cross-Platform

Back to CTTypesetterMBS class.

CTTypesetterMBS.Available as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreText MBS MacCG Plugin 14.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether this class is available.

Returns true in OS X v10.5 and later.

CTTypesetterMBS.CreateWithAttributedString(s as CFAttributedStringMBS) as CTTypesetterMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreText MBS MacCG Plugin 14.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates an immutable typesetter object using an attributed string.

s: The attributed string to typeset. This parameter must be filled in with a valid CFAttributedString object.

Returns a reference to a CTTypesetter object if the call was successful; otherwise, nil.

The resultant typesetter can be used to create lines, perform line breaking, and do other contextual analysis based on the characters in the string.

Available in OS X v10.5 and later.

See also:

CTTypesetterMBS.CreateWithAttributedString(s as CFAttributedStringMBS, options as dictionary) as CTTypesetterMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreText MBS MacCG Plugin 14.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates an immutable typesetter object using an attributed string and a dictionary of options.

s: The attributed string to typeset. This parameter must be filled in with a valid CFAttributedString object.
options: A dictionary of typesetter options, or nil if there are none.

Returns a reference to a CTTypesetter object if the call was successful; otherwise, nil.

The resultant typesetter can be used to create lines, perform line breaking, and do other contextual analysis based on the characters in the string.
Available in OS X v10.5 and later.

See also:

CTTypesetterMBS.kCTTypesetterOptionDisableBidiProcessing as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreText MBS MacCG Plugin 14.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants to control aspects of the typesetter’s bidirectional text processing.

Disables bidirectional processing. Value must be a CFBoolean object. Default value is false. Normally, typesetting applies the Unicode Bidirectional Algorithm as described in Unicode Standard Annex #9. If a typesetter is created with this option set to true, no directional reordering is performed, and any directional control characters are ignored.
Available in OS X v10.5 and later.
Deprecated in OS X v10.8.

CTTypesetterMBS.kCTTypesetterOptionForcedEmbeddingLevel as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreText MBS MacCG Plugin 14.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants to control aspects of the typesetter’s bidirectional text processing.

Specifies the embedding level. Value must be a CFNumberRef object. Default is unset. Normally, typesetting applies the Unicode Bidirectional Algorithm as described in Unicode Standard Annex #9. If present, this option specifies the embedding level, and any directional control characters are ignored.
Available in OS X v10.5 and later.

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


The biggest plugin in space...