What API call is there to get the current front size and style of text? for example, If selected font is DEFAULT_GUI_FONT how would you know its size and style (Bold, Italic etc.)?
What API call is there to get the current front size and style of
Share
Use GetTextMetrics to get this for selected font
Italic is a boolean byte value
tmItalic. Boldness istmWeightwith values of about 700 or more usually being thought of as “Bold”.