The GdiFontManager type exposes the following members.
Fields | Name | Description |
---|
| _dictDescriptionStringToGdiFont | Corresponds the font's invariant description string with the Gdi+ font instance.
Key is the invariant description string, value is the Gdi font instance with the specific style and size.
|
| _dictWin32FamilyNameToGdiFontFamilyAndPresence |
Dictionary of the Gdi font families. Key is the Win32FamilyName, value is an array[4] of FontFamily with represent
the styles regular, bold, italic, and bold-Italic. For system fonts, the 4 font family instances will be identical,
but due to a bug in Windows 10, to create a private font family we need to load each font file in a separate PrivateFontCollection,
thus creating a separate FontFamily for each style.
|
| _gdiFontReferenceCounter | Corresponds the font's invariant description string with a reference counter. It counts the number of FontX instances with this description string.
When the reference counter falls down to zero, the Gdi+ font instance can be released. |
| _instanceCached | The instance used by the static methods of this class. Is not neccessarily of type GdiFontManager, but could also be a derived type. |
| IdxBold | The index into the FontFamily array for the bold style. |
| IdxBoldItalic | The index into the FontFamily array for the bold-italic style. |
| IdxItalic | The index into the FontFamily array for the italic style. |
| IdxRegular | The index into the FontFamily array for the regular style. |
TopSee Also