Platforms to show: All Mac Windows Linux Cross-Platform

NSFontMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa MBS MacBase Plugin 8.0 ✅ Yes ❌ No ❌ No ✅ Yes All
A class for a font in the Cocoa world.

This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Constants

Constant Value Description
NSControlGlyph &hFFFFFF One of the constants define reserved glyph codes. NSGlyphGenerator generates NSControlGlyph for all characters in the Unicode General Category C* and U200B (ZERO WIDTH SPACE).
NSFontAntialiasedIntegerAdvancementsRenderingMode 3 One of the constants specify the font rendering mode. Specifies antialiased, integer advancements rendering mode.
Available in Mac OS X v10.4 and later.
NSFontAntialiasedRenderingMode 1 One of the constants specify the font rendering mode. Specifies antialiased, floating-point advancements rendering mode (synonymous with printerFont).
Available in Mac OS X v10.4 and later.
NSFontDefaultRenderingMode 0 One of the constants specify the font rendering mode. Determines the actual mode based on the user preference settings.
Available in Mac OS X v10.4 and later.
NSFontIntegerAdvancementsRenderingMode 2 One of the constants specify the font rendering mode. Specifies integer advancements rendering mode.
Available in Mac OS X v10.4 and later.
NSNativeShortGlyphPacking 5 A constant for glyph packing. The native format for Mac OS X. more
NSNullGlyph 0 One of the constants define reserved glyph codes. A null glyph.

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes

  • Version 22.4
    • Added monospacedDigitSystemFontOfSize and monospacedSystemFontOfSize functions to NSFontMBS class.

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


NSFontManagerMBS   -   NSFontPanelMBS


The biggest plugin in space...