Platforms to show: All Mac Windows Linux Cross-Platform
CTFontMBS constants
Font Option Constants
Constant | Value | Description |
---|---|---|
kCTFontOptionsDefault | 0 |
Default options are used. Available in OS X v10.6 and later. |
kCTFontOptionsPreferSystemFont | 4 |
Font matching prefers to match Apple system fonts. Available in OS X v10.6 and later. |
kCTFontOptionsPreventAutoActivation | 1 |
Prevents automatic font activation. Available in OS X v10.6 and later. |
Font Table Tag Constants
Constant | Value | Description |
---|---|---|
kCTFontTableAcnt | "acnt" |
Font table tag for accent attachment. |
kCTFontTableAnkr | "ankr" |
Anchor points |
kCTFontTableAvar | "avar" |
Font table tag for axis variation. |
kCTFontTableBASE | "BASE" |
Font table tag for the font baseline. |
kCTFontTableBdat | "bdat" |
Font table tag for bitmap data. |
kCTFontTableBhed | "bhed" |
Font table tag for bitmap font header. |
kCTFontTableBloc | "bloc" |
Font table tag for bitmap location. |
kCTFontTableBsln | "bsln" |
Font table tag for baseline. |
kCTFontTableCFF | "CFF " |
Font table tag for a PostScript font program. |
kCTFontTableCmap | "cmap" |
Font table tag for character-to-glyph mapping. |
kCTFontTableCvar | "cvar" |
Font table tag for control value variation, or CVT variation. |
kCTFontTableCvt | "cvt " |
Font table tag for control value table. |
kCTFontTableDSIG | "DSIG" |
Font table tag for a digital signature. |
kCTFontTableEBDT | "EBDT" |
Font table tag for an embedded bitmap. |
kCTFontTableEBLC | "EBLC" |
Font table tag for the embedded bitmap location. |
kCTFontTableEBSC | "EBSC" |
Font table tag for embedded bitmap scaling. |
kCTFontTableFdsc | "fdsc" |
Font table tag for font descriptor. |
kCTFontTableFeat | "feat" |
Font table tag for layout feature. |
kCTFontTableFmtx | "fmtx" |
Font table tag for font metrics. |
kCTFontTableFpgm | "fpgm" |
Font table tag for font program. |
kCTFontTableFvar | "fvar" |
Font table tag for font variation. |
kCTFontTableGasp | "gasp" |
Font table tag for grid-fitting/scan-conversion. |
kCTFontTableGDEF | "GDEF" |
Font table tag for glyph definition. |
kCTFontTableGlyf | "glyf" |
Font table tag for glyph data. |
kCTFontTableGPOS | "GPOS" |
Font table tag for glyph positioning. |
kCTFontTableGSUB | "GSUB" |
Font table tag for glyph substitution. |
kCTFontTableGvar | "gvar" |
Font table tag for glyph variation. |
kCTFontTableHdmx | "hdmx" |
Font table tag for horizontal device metrics. |
kCTFontTableHead | "head" |
Font table tag for font header. |
kCTFontTableHhea | "hhea" |
Font table tag for horizontal header. |
kCTFontTableHmtx | "hmtx" |
Font table tag for horizontal metrics. |
kCTFontTableHsty | "hsty" |
Font table tag for horizontal style. |
kCTFontTableJSTF | "JSTF" |
Font table tag for justification. |
kCTFontTableJust | "just" |
Font table tag for justification. |
kCTFontTableKern | "kern" |
Font table tag for kerning. |
kCTFontTableKerx | "kerx" |
Font table tag for extended kerning. |
kCTFontTableLcar | "lcar" |
Font table tag for ligature caret. |
kCTFontTableLoca | "loca" |
Font table tag for index to location. |
kCTFontTableLtag | "ltag" |
Language tags |
kCTFontTableLTSH | "LTSH" |
Font table tag for linear threshold. |
kCTFontTableMaxp | "maxp" |
Font table tag for maximum profile. |
kCTFontTableMort | "mort" |
Font table tag for morph. |
kCTFontTableMorx | "morx" |
Font table tag for extended morph. |
kCTFontTableName | "name" |
Font table tag for naming table. |
kCTFontTableOpbd | "opbd" |
Font table tag for optical bounds. |
kCTFontTableOS2 | "OS/2" |
Font table tag for OS/2 and Windows-specific metrics. |
kCTFontTablePCLT | "PCLT" |
Font table tag for PCL 5 data. |
kCTFontTablePost | "post" |
Font table tag for PostScript information. |
kCTFontTablePrep | "prep" |
Font table tag for control value program, 'prep' table. |
kCTFontTableProp | "prop" |
Font table tag for properties. |
kCTFontTableSbit | "sbit" |
Font table tag for bitmap data. Available in OS X v10.7 and later. |
kCTFontTableSbix | "sbix" |
Font table tag for extended bitmap data. Available in OS X v10.7 and later. |
kCTFontTableTrak | "trak" |
Font table tag for tracking. |
kCTFontTableVDMX | "VDMX" |
Font table tag for vertical device metrics. |
kCTFontTableVhea | "vhea" |
Font table tag for vertical header. |
kCTFontTableVmtx | "vmtx" |
Font table tag for vertical metrics. |
kCTFontTableVORG | "VORG" |
Font table tag for vertical origin. |
kCTFontTableZapf | "Zapf" |
Font table tag for glyph reference. |
Font Table Option Constants
Constant | Value | Description |
---|---|---|
kCTFontTableOptionExcludeSynthetic | 1 |
The font table excludes synthetic font data. Available in OS X v10.5 and later. Deprecated in OS X v10.8. |
kCTFontTableOptionNoOptions | 0 |
No font table options are specified. |
User Interface Type Constants
Constant | Value | Description |
---|---|---|
kCTFontUIFontAlertHeader | 18 |
The font used for alert headers. |
kCTFontUIFontApplication | 9 |
The default font for text documents. |
kCTFontUIFontControlContent | 26 |
The font used for contents of user-interface controls. |
kCTFontUIFontEmphasizedSystem | 3 |
The system font used for emphasis in alerts. |
kCTFontUIFontEmphasizedSystemDetail | 20 |
The system font used for emphasis in details. |
kCTFontUIFontLabel | 10 |
The font used for labels and tick marks on full-size sliders. |
kCTFontUIFontMenuItem | 12 |
The font used for menu items. |
kCTFontUIFontMenuItemCmdKey | 14 |
The font used for menu-item command-key equivalents. |
kCTFontUIFontMenuItemMark | 13 |
The font used to draw menu item marks. |
kCTFontUIFontMenuTitle | 11 |
The font used for menu titles. |
kCTFontUIFontMessage | 23 |
The font used for standard interface items, such as button labels, menu items, and so on. |
kCTFontUIFontMiniEmphasizedSystem | 7 |
The small system font used for emphasis. |
kCTFontUIFontMiniSystem | 6 |
The standard small system font used for informative text in alerts, column headings in lists, help tags, and small controls. |
kCTFontUIFontNone | -1 |
The user-interface font type is not specified. |
kCTFontUIFontPalette | 24 |
The font used in tool palettes. |
kCTFontUIFontPushButton | 16 |
The font used for a push button (a rounded rectangular button with a text label on it). |
kCTFontUIFontSmallEmphasizedSystem | 5 |
The system font used for emphasis in alerts. |
kCTFontUIFontSmallSystem | 4 |
The standard small system font used for informative text in alerts, column headings in lists, help tags, and small controls. |
kCTFontUIFontSmallToolbar | 22 |
The small font used for labels of toolbar items. |
kCTFontUIFontSystem | 2 |
The system font used for standard user-interface items such as button labels, menu items, and so on. |
kCTFontUIFontSystemDetail | 19 |
The standard system font used for details. |
kCTFontUIFontToolbar | 21 |
The font used for labels of toolbar items. |
kCTFontUIFontToolTip | 25 |
The font used for tool tips. |
kCTFontUIFontUser | 0 |
The font used by default for documents and other text under the user’s control (that is, text whose font the user can normally change). |
kCTFontUIFontUserFixedPitch | 1 |
The font used by default for documents and other text under the user’s control when that font is fixed-pitch. Available in OS X v10.5 and later. |
kCTFontUIFontUtilityWindowTitle | 17 |
The font used for utility window titles. |
kCTFontUIFontViews | 8 |
The view font used as the default font of text in lists and tables. |
kCTFontUIFontWindowTitle | 15 |
The font used for utility window titles. |