<PackageReference Include="System.Drawing.Common" Version="9.0.6" />

SystemFonts

public static class SystemFonts
Specifies the fonts used to display text in Windows display elements.
public static Font CaptionFont { get; }

Gets a Font that is used to display text in the title bars of windows.

public static Font DefaultFont { get; }

Gets the default font that applications can use for dialog boxes and forms.

public static Font DialogFont { get; }

Gets a font that applications can use for dialog boxes and forms.

public static Font IconTitleFont { get; }

Gets a Font that is used for icon titles.

public static Font MenuFont { get; }

Gets a Font that is used for menus.

public static Font MessageBoxFont { get; }

Gets a Font that is used for message boxes.

public static Font SmallCaptionFont { get; }

Gets a Font that is used to display text in the title bars of small windows, such as tool windows.

public static Font StatusFont { get; }

Gets a Font that is used to display text in the status bar.

public static Font GetFontByName(string systemFontName)

Returns a font object that corresponds to the specified system font name.