Click or drag to resize

GdiFontManager Fields

The GdiFontManager type exposes the following members.

Fields
 NameDescription
Protected field_dictDescriptionStringToGdiFontCorresponds 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.
Protected field_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.
Protected field_gdiFontReferenceCounterCorresponds 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.
Protected fieldStatic member_instanceCachedThe instance used by the static methods of this class. Is not neccessarily of type GdiFontManager, but could also be a derived type.
Protected fieldStatic memberIdxBoldThe index into the FontFamily array for the bold style.
Protected fieldStatic memberIdxBoldItalicThe index into the FontFamily array for the bold-italic style.
Protected fieldStatic memberIdxItalicThe index into the FontFamily array for the italic style.
Protected fieldStatic memberIdxRegularThe index into the FontFamily array for the regular style.
Top
See Also