Function Control.addFontOverride

Overrides the font with given name in the theme resource the control uses. If font is empty or invalid, the override is cleared and the font from assigned Theme is used.

void addFontOverride (
  const(String) name,
  Font font
) nothrow @nogc;