01-12-2025, 07:45 PM
I struggle with using fonts in QB64
Not easy!
This is my file explorer in win 10
this is the properties of the font
This line gives the error invalid handle
mfont = _LoadFont(Environ$("HOME") + "/.local/share/fonts/CousineNerdFontMono-Bold.ttf", ps, "UNICODE")
So does this line
mfont = _LoadFont(Environ$("HOME") + "/windows/fonts/CousineNerdFontMono-Bold.ttf", ps, "UNICODE")
/windows/fonts/
is right where the ttf file is!
Is it installed? I think so, I did install it. You right click and PREVIEW and on that screen press INSTALL. I did it, it is GREY
Go there with the DOS command and do DIR, not there!
I don't know what I am doing wrong
Not easy!
This is my file explorer in win 10
this is the properties of the font
This line gives the error invalid handle
mfont = _LoadFont(Environ$("HOME") + "/.local/share/fonts/CousineNerdFontMono-Bold.ttf", ps, "UNICODE")
So does this line
mfont = _LoadFont(Environ$("HOME") + "/windows/fonts/CousineNerdFontMono-Bold.ttf", ps, "UNICODE")
/windows/fonts/
is right where the ttf file is!
Is it installed? I think so, I did install it. You right click and PREVIEW and on that screen press INSTALL. I did it, it is GREY
Go there with the DOS command and do DIR, not there!
I don't know what I am doing wrong
MoreCowbell(everything)