Typeface information is specified by the lower 16 bits of NSFontSymbolicTraits using the following constants.
Available in Mac OS X v10.4 and later.
C# | Visual Basic | Visual C++ |
public enum NSTypefaceInformation
Public Enumeration NSTypefaceInformation
public enum class NSTypefaceInformation
Member | Description |
---|---|
NSFontItalicTrait | The font’s typestyle is italic. Available in Mac OS X v10.4 and later. |
NSFontBoldTrait | The font’s typestyle is boldface. Available in Mac OS X v10.4 and later. |
NSFontExpandedTrait | The font’s typestyle is expanded. Expanded and condensed traits are mutually exclusive. Available in Mac OS X v10.4 and later. |
NSFontCondensedTrait | The font’s typestyle is condensed. Expanded and condensed traits are mutually exclusive. Available in Mac OS X v10.4 and later. |
NSFontMonoSpaceTrait | The font uses fixed-pitch glyphs if available. The font may have multiple glyph advances (many CJK glyphs contain two spaces). Available in Mac OS X v10.4 and later. |
NSFontVerticalTrait | The font uses vertical glyph variants and metrics. Available in Mac OS X v10.4 and later. |
NSFontUIOptimizedTrait | The font synthesizes appropriate attributes for user interface rendering, such as control titles, if necessary. Available in Mac OS X v10.4 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)