Solution to Which attribute is used to define the font type - Sikademy
Author Image

Archangel Macsika

Which attribute is used to define the font type

The Answer to the Question
is below this banner.

Can't find a solution anywhere?

NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?

Get the Answers Now!

You will get a detailed answer to your question or assignment in the shortest time possible.

Here's the Solution to this Question


void setConsoleFont(short width, short height) //width and height are size of letters {     HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);     CONSOLE_FONT_INFOEX fontInfo = {};     GetCurrentConsoleFontEx(hConsole, FALSE, &fontInfo);     fontInfo.dwFontSize = { width, height };     fontInfo.cbSize = sizeof(fontInfo);     wcscpy_s(fontInfo.FaceName, L"ISOCTEUR"); //L"ISOCTEUR" is name of style for example     SetCurrentConsoleFontEx(hConsole, FALSE, &fontInfo); }

Related Answers

Was this answer helpful?

Join our Community to stay in the know

Get updates for similar and other helpful Answers

Question ID: mtid-3-stid-44-sqid-1068-qpid-64