Platforms to show: All Mac Windows Linux Cross-Platform
Back to CTFontMBS class.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The font-ascent metric scaled according to the point size and matrix of the font reference.
(Read only property)
CTFontMBS.BoundingBox as CGRectMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The design bounding box of the font, which is the rectangle defined by xMin, yMin, xMax, and yMax values for the font. Returns CGRectNull on error.
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The font cap-height metric scaled according to the point size and matrix of the font reference.
(Read only property)
CTFontMBS.CharacterSet as Variant
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Value is a CFCharacterSetMBS. We use variant to reduce dependency to other plugins.
The returned character set covers the nominal referenced by the font's Unicode 'cmap’ table.
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The font-descent metric scaled according to the point size and matrix of the font reference.
(Read only property)
CTFontMBS.DisplayName as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
CTFontMBS.FamilyName as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 15.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
CTFontMBS.FontDescriptor as CTFontDescriptorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A normalized font descriptor for a font containing enough information to recreate this font at a later time.
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
CTFontMBS.GlyphCount as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The font-leading metric scaled according to the point size and matrix of the font reference.
(Read only property)
CTFontMBS.Matrix as CGAffineTransformMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The transformation matrix for the given font reference. This is the matrix that was provided when the font was created.
(Read only property)
CTFontMBS.PostScriptName as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This is the point size provided when the font was created.
(Read only property)
CTFontMBS.SlantAngle as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The transformed slant angle of the font. This is equivalent to the italic or caret angle with any skew from the transformation matrix applied.
(Read only property)
CTFontMBS.StringEncoding as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The best string encoding for the font.
(Read only property)
CTFontMBS.SymbolicTraits as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The symbolic traits of the font. This is equivalent to the kCTFontSymbolicTrait value of the traits dictionary.
(Read only property)
CTFontMBS.Traits as Dictionary
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A retained reference to the font traits dictionary. Individual traits can be accessed with the trait key constants.
(Read only property)
CTFontMBS.UnderlinePosition as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The font underline-position metric scaled according to the point size and matrix of the font reference.
(Read only property)
CTFontMBS.UnderlineThickness as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The font underline-thickness metric scaled according to the point size and matrix of the font reference.
(Read only property)
CTFontMBS.UnitsPerEm as UInt64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 15.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
CTFontMBS.Variation as Dictionary
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The keys for each variation correspond to the variation identifier obtained via kCTFontVariationAxisIdentifierKey, which represents the four-character axis code as a number.
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The font x-height metric scaled according to the point size and matrix of the font reference.
(Read only property)
The items on this page are in the following plugins: MBS MacCG Plugin.