OperatingSystemFont.loadWin32

Loads a Windows font. You probably want to use load instead to be more generic.

class OperatingSystemFont
version(Windows)
bool
loadWin32
(
string name
,
int size = 0
,
FontWeight weight = FontWeight.dontcare
,
bool italic = false
,
HDC hdc = null
)

Meta

History

Added November 13, 2020. Before then, this code was integrated in the load function.