Platforms to show: All Mac Windows Linux Cross-Platform
WindowsFontFamilyMBS constants
Constants
Constant | Value | Description |
---|---|---|
ANSI_CHARSET | 0 | One of the constants for the LogFontCharSet property. |
ANTIALIASED_QUALITY | 4 |
One of the constants for the LogFontQuality property.
Enables antialiasing for the font. The display driver must support antialised text for this setting to work. |
ARABIC_CHARSET | 178 | One of the constants for the LogFontCharSet property. |
BALTIC_CHARSET | 186 | One of the constants for the LogFontCharSet property. |
CHINESEBIG5_CHARSET | 136 | One of the constants for the LogFontCharSet property. |
CLIP_CHARACTER_PRECIS | 1 |
One of the constants for the LogFontClipPrecision property.
Not used. |
CLIP_DEFAULT_PRECIS | 0 |
One of the constants for the LogFontClipPrecision property.
Specifies default clipping behavior. |
CLIP_EMBEDDED | 128 | One of the clip constants. |
CLIP_LH_ANGLES | 16 | One of the clip constants. |
CLIP_MASK | &h15 | One of the clip constants. |
CLIP_STROKE_PRECIS | 2 |
One of the constants for the LogFontClipPrecision property.
Not used by the font mapper, but is returned when raster, vector, or TrueType fonts are enumerated. |
CLIP_TT_ALWAYS | 32 | One of the clip constants. |
DEFAULT_CHARSET | 1 | One of the constants for the LogFontCharSet property. |
DEFAULT_PITCH | 0 | One of the pitch constants. |
DEFAULT_QUALITY | 0 |
One of the constants for the LogFontQuality property.
Appearance of the font does not matter. |
DEVICE_FONTTYPE | &h002 | One of the constants for the FontType property. |
DRAFT_QUALITY | 1 |
One of the constants for the LogFontQuality property.
For GDI raster fonts, scaling is enabled, which means that more font sizes are available, but the quality may be lower. Bold, italic, underline, and strikeout fonts are synthesized if necessary. |
EASTEUROPE_CHARSET | 238 | One of the constants for the LogFontCharSet property. |
FF_DECORATIVE | 80 |
One of the constants for the LogFontPitchAndFamily property.
Novelty fonts, for example, Old English. |
FF_DONTCARE | 0 |
One of the constants for the LogFontPitchAndFamily property.
Do not care or do not know. |
FF_MODERN | 48 |
One of the constants for the LogFontPitchAndFamily property.
Fonts with constant stroke width (monospace), with or without serifs. Monospace fonts are usually modern, for example, Pica, Elite, and Courier New. |
FF_ROMAN | 16 |
One of the constants for the LogFontPitchAndFamily property.
Fonts with variable stroke width (proportional) and with serifs, for example, Serif. |
FF_SCRIPT | 64 |
One of the constants for the LogFontPitchAndFamily property.
Fonts designed to look like handwriting, for example, Script and Cursive. |
FF_SWISS | 32 |
One of the constants for the LogFontPitchAndFamily property.
Fonts with variable stroke width (proportional) and without serifs, for example, Sans Serif. |
FIXED_PITCH | 1 | One of the pitch constants. |
FW_BLACK | 900 | One of the constants for the LogFontWeight property. |
FW_BOLD | 700 | One of the constants for the LogFontWeight property. |
FW_DEMIBOLD | 600 | One of the constants for the LogFontWeight property. |
FW_DONTCARE | 0 | One of the constants for the LogFontWeight property. |
FW_EXTRABOLD | 800 | One of the constants for the LogFontWeight property. |
FW_EXTRALIGHT | 200 | One of the constants for the LogFontWeight property. |
FW_HEAVY | 900 | One of the constants for the LogFontWeight property. |
FW_LIGHT | 300 | One of the constants for the LogFontWeight property. |
FW_MEDIUM | 500 | One of the constants for the LogFontWeight property. |
FW_NORMAL | 400 | One of the constants for the LogFontWeight property. |
FW_REGULAR | 400 | One of the constants for the LogFontWeight property. |
FW_SEMIBOLD | 600 | One of the constants for the LogFontWeight property. |
FW_THIN | 100 | One of the constants for the LogFontWeight property. |
FW_ULTRABOLD | 800 | One of the constants for the LogFontWeight property. |
FW_ULTRALIGHT | 200 | One of the constants for the LogFontWeight property. |
GB2312_CHARSET | 134 | One of the constants for the LogFontCharSet property. |
GREEK_CHARSET | 161 | One of the constants for the LogFontCharSet property. |
HANGEUL_CHARSET | 129 | One of the constants for the LogFontCharSet property. |
HANGUL_CHARSET | 129 | One of the constants for the LogFontCharSet property. |
HEBREW_CHARSET | 177 | One of the constants for the LogFontCharSet property. |
JOHAB_CHARSET | 130 | One of the constants for the LogFontCharSet property. |
MAC_CHARSET | 77 | One of the constants for the LogFontCharSet property. |
MONO_FONT | 8 | One of the pitch constants. |
NONANTIALIASED_QUALITY | 3 |
One of the constants for the LogFontQuality property.
Forces use of draft quality when the HKEY_LOCAL_MACHINE\System\GDI\Fontsmoothing registry key is present. |
NTM_BOLD | &h00000020 |
One of the flag constants for the TextMetricFlags property.
bold |
NTM_DSIG | &h00200000 |
One of the flag constants for the TextMetricFlags property.
Font with a digital signature. This allows traceability and ensures that the font has been tested and is not corrupted. |
NTM_ITALIC | &h00000001 |
One of the flag constants for the TextMetricFlags property.
italic |
NTM_MULTIPLEMASTER | &h00080000 |
One of the flag constants for the TextMetricFlags property.
multiple master font |
NTM_NONNEGATIVE_AC | &h00010000 |
One of the flag constants for the TextMetricFlags property.
no glyph in a font at any size has a negative A or C space. |
NTM_PS_OPENTYPE | &h00020000 |
One of the flag constants for the TextMetricFlags property.
PostScript OpenType font |
NTM_REGULAR | &h00000040 |
One of the flag constants for the TextMetricFlags property.
regular |
NTM_TT_OPENTYPE | &h00040000 |
One of the flag constants for the TextMetricFlags property.
TrueType OpenType font |
NTM_TYPE1 | &h00100000 |
One of the flag constants for the TextMetricFlags property.
Type 1 font |
OEM_CHARSET | 255 | One of the constants for the LogFontCharSet property. |
OUT_CHARACTER_PRECIS | 2 | One of the constants for the LogFontOutPrecision property. |
OUT_DEFAULT_PRECIS | 0 |
One of the constants for the LogFontOutPrecision property.
Specifies the default font mapper behavior. |
OUT_DEVICE_PRECIS | 5 | One of the constants for the LogFontOutPrecision property. |
OUT_OUTLINE_PRECIS | 8 | One of the constants for the LogFontOutPrecision property. |
OUT_PS_ONLY_PRECIS | 10 | One of the constants for the LogFontOutPrecision property. |
OUT_RASTER_PRECIS | 6 |
One of the constants for the LogFontOutPrecision property.
Instructs the font mapper to choose a raster font when the system contains multiple fonts with the same name. |
OUT_SCREEN_OUTLINE_PRECIS | 9 | One of the constants for the LogFontOutPrecision property. |
OUT_STRING_PRECIS | 1 |
One of the constants for the LogFontOutPrecision property.
This value is not used by the font mapper, but it is returned when raster fonts are enumerated. |
OUT_STROKE_PRECIS | 3 | One of the constants for the LogFontOutPrecision property. |
OUT_TT_ONLY_PRECIS | 7 | One of the constants for the LogFontOutPrecision property. |
OUT_TT_PRECIS | 4 | One of the constants for the LogFontOutPrecision property. |
PROOF_QUALITY | 2 | One of the constants for the LogFontQuality property. |
RASTER_FONTTYPE | &h0001 | One of the constants for the FontType property. |
RUSSIAN_CHARSET | 204 | One of the constants for the LogFontCharSet property. |
SHIFTJIS_CHARSET | 128 | One of the constants for the LogFontCharSet property. |
SYMBOL_CHARSET | 2 | One of the constants for the LogFontCharSet property. |
THAI_CHARSET | 222 | One of the constants for the LogFontCharSet property. |
TRUETYPE_FONTTYPE | &h004 | One of the constants for the FontType property. |
TURKISH_CHARSET | 162 | One of the constants for the LogFontCharSet property. |
VARIABLE_PITCH | 2 | One of the pitch constants. |
VIETNAMESE_CHARSET | 163 | One of the constants for the LogFontCharSet property. |