Platforms to show: All Mac Windows Linux Cross-Platform
Back to WindowsFontFamilyMBS class.
WindowsFontFamilyMBS.CodepageBitfield as MemoryBlock
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Code pages are in the lower 32 bits of this bitfield. The high 32 are used for non-Windows code pages. For more information, see Code Page Bitfields.
http://msdn.microsoft.com/en-us/library/dd317754(v=vs.85).aspx
Only available for truetype fonts.
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.FontType as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
This parameter can be a combination of these values:
DEVICE_FONTTYPE
RASTER_FONTTYPE
TRUETYPE_FONTTYPE
(Read only property)
WindowsFontFamilyMBS.LogFontBold as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 17.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Setting to false, will set Weight to 400, setting to true will set Weight to 700.
Returns true if Weight is equal or more than 700.
(Read only property)
WindowsFontFamilyMBS.LogFontCharSet as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The following values are predefined.
ANSI_CHARSET
BALTIC_CHARSET
CHINESEBIG5_CHARSET
DEFAULT_CHARSET
EASTEUROPE_CHARSET
GB2312_CHARSET
GREEK_CHARSET
HANGUL_CHARSET
MAC_CHARSET
OEM_CHARSET
RUSSIAN_CHARSET
SHIFTJIS_CHARSET
SYMBOL_CHARSET
TURKISH_CHARSET
VIETNAMESE_CHARSET
Korean language edition of Windows:
JOHAB_CHARSET
Middle East language edition of Windows:
ARABIC_CHARSET
HEBREW_CHARSET
Thai language edition of Windows:
THAI_CHARSET
The OEM_CHARSET value specifies a character set that is operating-system dependent.
DEFAULT_CHARSET is set to a value based on the current system locale. For example, when the system locale is English (United States), it is set as ANSI_CHARSET.
Fonts with other character sets may exist in the operating system. If an application uses a font with an unknown character set, it should not attempt to translate or interpret strings that are rendered with that font.
This parameter is important in the font mapping process. To ensure consistent results, specify a specific character set. If you specify a typeface name in the lfFaceName member, make sure that the lfCharSet value matches the character set of the typeface specified in lfFaceName.
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.LogFontClipPrecision as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The clipping precision defines how to clip characters that are partially outside the clipping region. It can be one or more of the following values.
For more information about the orientation of coordinate systems, see the description of the nOrientation parameter.
Value | Meaning |
CLIP_CHARACTER_PRECIS | Not used. |
CLIP_DEFAULT_PRECIS | Specifies default clipping behavior. |
CLIP_DFA_DISABLE | Windows XP SP1: Turns off font association for the font. Note that this flag is not guaranteed to have any effect on any platform after Windows Server 2003. |
CLIP_EMBEDDED | You must specify this flag to use an embedded read-only font. |
CLIP_LH_ANGLES | When this value is used, the rotation for all fonts depends on whether the orientation of the coordinate system is left-handed or right-handed. If not used, device fonts always rotate counterclockwise, but the rotation of other fonts is dependent on the orientation of the coordinate system. |
CLIP_MASK | Not used. |
CLIP_DFA_OVERRIDE | Turns off font association for the font. This is identical to CLIP_DFA_DISABLE, but it can have problems in some situations; the recommended flag to use is CLIP_DFA_DISABLE. |
CLIP_STROKE_PRECIS | Not used by the font mapper, but is returned when raster, vector, or TrueType fonts are enumerated. For compatibility, this value is always returned when enumerating fonts. |
CLIP_TT_ALWAYS | Not used. |
Some examples using this property:
WindowsFontFamilyMBS.LogFontEscapement as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The escapement vector is parallel to the base line of a row of text.
When the graphics mode is set to GM_ADVANCED, you can specify the escapement angle of the string independently of the orientation angle of the string's characters.
When the graphics mode is set to GM_COMPATIBLE, LogFontEscapement specifies both the escapement and orientation. You should set LogFontEscapement and LogFontOrientation to the same value.
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.LogFontFaceName as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.LogFontFullName as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
For example, ABC Font Company TrueType Bold Italic Sans Serif.
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.LogFontHeight as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The character height value (also known as the em height) is the character cell height value minus the internal-leading value. The font mapper interprets the value specified in lfHeight in the following manner.
Value | Meaning |
> 0 | The font mapper transforms this value into device units and matches it against the cell height of the available fonts. |
0 | The font mapper uses a default height value when it searches for a match. |
< 0 | The font mapper transforms this value into device units and matches its absolute value against the character height of the available fonts. |
For all height comparisons, the font mapper looks for the largest font that does not exceed the requested size.
This mapping occurs when the font is used for the first time.
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.LogFontItalic as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.LogFontOrientation as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.LogFontOutPrecision as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The output precision defines how closely the output must match the requested font's height, width, character orientation, escapement, pitch, and font type. It can be one of the following values.
Value | Meaning |
OUT_CHARACTER_PRECIS | Not used. |
OUT_DEFAULT_PRECIS | Specifies the default font mapper behavior. |
OUT_DEVICE_PRECIS | Instructs the font mapper to choose a Device font when the system contains multiple fonts with the same name. |
OUT_OUTLINE_PRECIS | This value instructs the font mapper to choose from TrueType and other outline-based fonts. |
OUT_PS_ONLY_PRECIS | Instructs the font mapper to choose from only PostScript fonts. If there are no PostScript fonts installed in the system, the font mapper returns to default behavior. |
OUT_RASTER_PRECIS | Instructs the font mapper to choose a raster font when the system contains multiple fonts with the same name. |
OUT_STRING_PRECIS | This value is not used by the font mapper, but it is returned when raster fonts are enumerated. |
OUT_STROKE_PRECIS | This value is not used by the font mapper, but it is returned when TrueType, other outline-based fonts, and vector fonts are enumerated. |
OUT_TT_ONLY_PRECIS | Instructs the font mapper to choose from only TrueType fonts. If there are no TrueType fonts installed in the system, the font mapper returns to default behavior. |
OUT_TT_PRECIS | Instructs the font mapper to choose a TrueType font when the system contains multiple fonts with the same name. |
Applications can use the OUT_DEVICE_PRECIS, OUT_RASTER_PRECIS, OUT_TT_PRECIS, and OUT_PS_ONLY_PRECIS values to control how the font mapper chooses a font when the operating system contains more than one font with a specified name. For example, if an operating system contains a font named Symbol in raster and TrueType form, specifying OUT_TT_PRECIS forces the font mapper to choose the TrueType version. Specifying OUT_TT_ONLY_PRECIS forces the font mapper to choose a TrueType font, even if it must substitute a TrueType font of another name.
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.LogFontPitchAndFamily as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The two low-order bits specify the pitch of the font and can be one of the following values.
DEFAULT_PITCH
FIXED_PITCH
VARIABLE_PITCH
Bits 4 through 7 of the member specify the font family and can be one of the following values.
FF_DECORATIVE
FF_DONTCARE
FF_MODERN
FF_ROMAN
FF_SCRIPT
FF_SWISS
The proper value can be obtained by using the Boolean OR operator to join one pitch constant with one family constant.
Font families describe the look of a font in a general way. They are intended for specifying fonts when the exact typeface desired is not available. The values for font families are as follows.
Value | Meaning |
FF_DECORATIVE | Novelty fonts. Old English is an example. |
FF_DONTCARE | Use default font. |
FF_MODERN | Fonts with constant stroke width (monospace), with or without serifs. Monospace fonts are usually modern. Pica, Elite, and CourierNew are examples. |
FF_ROMAN | Fonts with variable stroke width (proportional) and with serifs. MS Serif is an example. |
FF_SCRIPT | Fonts designed to look like handwriting. Script and Cursive are examples. |
FF_SWISS | Fonts with variable stroke width (proportional) and without serifs. MS Sans Serif is an example. |
Some examples using this property:
WindowsFontFamilyMBS.LogFontQuality as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The output quality defines how carefully the graphics device interface (GDI) must attempt to match the logical-font attributes to those of an actual physical font. It can be one of the following values.
Value | Meaning |
ANTIALIASED_QUALITY | Font is always antialiased if the font supports it and the size of the font is not too small or too large. |
CLEARTYPE_QUALITY | If set, text is rendered (when possible) using ClearType antialiasing method. See Remarks for more information. |
DEFAULT_QUALITY | Appearance of the font does not matter. |
DRAFT_QUALITY | Appearance of the font is less important than when PROOF_QUALITY is used. 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. |
NONANTIALIASED_QUALITY | Font is never antialiased. |
PROOF_QUALITY | Character quality of the font is more important than exact matching of the logical-font attributes. For GDI raster fonts, scaling is disabled and the font closest in size is chosen. Although the chosen font size may not be mapped exactly when PROOF_QUALITY is used, the quality of the font is high and there is no distortion of appearance. Bold, italic, underline, and strikeout fonts are synthesized if necessary. |
Some examples using this property:
WindowsFontFamilyMBS.LogFontScript as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.LogFontStrikeOut as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.LogFontStyle as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.LogFontUnderline as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.LogFontWeight as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
For example, 400 is normal and 700 is bold. If this value is zero, a default weight is used.
The following values are defined for convenience.
Value | Weight |
FW_DONTCARE | 0 |
FW_THIN | 100 |
FW_EXTRALIGHT | 200 |
FW_ULTRALIGHT | 200 |
FW_LIGHT | 300 |
FW_NORMAL | 400 |
FW_REGULAR | 400 |
FW_MEDIUM | 500 |
FW_SEMIBOLD | 600 |
FW_DEMIBOLD | 600 |
FW_BOLD | 700 |
FW_EXTRABOLD | 800 |
FW_ULTRABOLD | 800 |
FW_HEAVY | 900 |
FW_BLACK | 900 |
Some examples using this property:
WindowsFontFamilyMBS.LogFontWidth as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If LogFontWidth is zero, the aspect ratio of the device is matched against the digitization aspect ratio of the available fonts to find the closest match, determined by the absolute value of the difference.
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.NumberOfAxes as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The axes arrays contains information on all the axes of a multiple master font.
Only available for truetype fonts.
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.NumberOfDesignVectors as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricAscent as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricAverageCharWidth as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
This value does not include overhang required for bold or italic characters.
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricAverageWidth as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
This value should be compared with the value of the TextMetricSizeEM member.
Only available for truetype fonts.
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricBreakChar as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricCellHeight as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
This value should be compared with the value of the TextMetricSizeEM member.
Only available for truetype fonts.
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricCharSet as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricDefaultChar as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricDescent as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricDigitizedAspectX as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricDigitizedAspectY as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The ratio of the tmDigitizedAspectX and tmDigitizedAspectY members is the aspect ratio of the device for which the font was designed.
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricExternalLeading as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Since this area is outside the font, it contains no marks and is not altered by text output calls in either OPAQUE or TRANSPARENT mode. The designer may set this member to zero.
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricFirstChar as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricFlags as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
May be any reasonable combination of the following values.
Bit | Name | Meaning |
0 | NTM_ITALIC | italic |
5 | NTM_BOLD | bold |
8 | NTM_REGULAR | regular |
16 | NTM_NONNEGATIVE_AC | no glyph in a font at any size has a negative A or C space. |
17 | NTM_PS_OPENTYPE | PostScript OpenType font |
18 | NTM_TT_OPENTYPE | TrueType OpenType font |
19 | NTM_MULTIPLEMASTER | multiple master font |
20 | NTM_TYPE1 | Type 1 font |
21 | NTM_DSIG | font with a digital signature. This allows traceability and ensures that the font has been tested and is not corrupted |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricHeight as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricInternalLeading as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Accent marks and other diacritical characters may occur in this area. The designer may set this member to zero.
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricItalic as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricLastChar as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricMaxCharWidth as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricOverhang as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
When synthesizing some attributes, such as bold or italic, graphics device interface (GDI) or a device may have to add width to a string on both a per-character and per-string basis. For example, GDI makes a string bold by expanding the spacing of each character and overstriking by an offset value; it italicizes a font by shearing the string. In either case, there is an overhang past the basic string. For bold strings, the overhang is the distance by which the overstrike is offset. For italic strings, the overhang is the amount the top of the font is sheared past the bottom of the font.
The TextMetricOverhang member enables the application to determine how much of the character width returned by a GetTextExtentPoint32 function call on a single character is the actual character width and how much is the per-string extra width. The actual width is the extent minus the overhang.
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricPitchAndFamily as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The low-order bit (bit 0) specifies the pitch of the font. If it is 1, the font is variable pitch (or proportional). If it is 0, the font is fixed pitch (or monospace). Bits 1 and 2 specify the font type. If both bits are 0, the font is a raster font; if bit 1 is 1 and bit 2 is 0, the font is a vector font; if bit 1 is 0 and bit 2 is set, or if both bits are 1, the font is some other type. Bit 3 is 1 if the font is a device font; otherwise, it is 0.
The four high-order bits designate the font family. The TextMetricPitchAndFamily member can be combined with the hexadecimal value 0xF0 by using the bitwise AND operator and can then be compared with the font family names for an identical match. For more information about the font families, see LogFontPitchAndFamily.
(Read only property)
Some examples using this property:
WindowsFontFamilyMBS.TextMetricSizeEM as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
This value is in notional units (that is, the units for which the font was designed).
Only available for truetype fonts.
(Read only property)
Some examples using this property:
The items on this page are in the following plugins: MBS Win Plugin.