void sub__consolefont(qbs* FontName, int FontSize){
/*
#ifdef QB64_WINDOWS
SECURITY_ATTRIBUTES SecAttribs = {sizeof(SECURITY_ATTRIBUTES), 0, 1};
HANDLE cl_conout = CreateFileA("CONOUT$", GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, & SecAttribs, OPEN_EXISTING, 0, 0);
static int OneTimePause;
if (!OneTimePause){ // a slight delay so the console can be properly created and registered with Windows, before we try and change fonts with it.
Sleep(500);
OneTimePause=1; //after the first pause, the console should be created, so we don't need any more delays in the future.
}
CONSOLE_FONT_INFOEX info = {0};
info.cbSize = sizeof(info);
info.dwFontSize.Y = FontSize; // leave X as zero
info.FontWeight = FW_NORMAL;
if (FontName->len>0){ //if we don't pass a font name, don't change the existing one.
const size_t cSize = FontName->len;
wchar_t* wc = new wchar_t[32];
mbstowcs (wc, (char *)FontName->chr, cSize);
wcscpy(info.FaceName, wc);
delete[] wc;
}
SetCurrentConsoleFontEx(cl_conout, NULL, &info);
#endif
*/
}