01-13-2026, 04:10 AM
(This post was last modified: 01-13-2026, 04:10 AM by ahenry3068.)
(01-13-2026, 01:34 AM)cage Wrote: _Font _LoadFont("DejaVuSansMono-Bold.ttf", 14, "monospace")
SCREEN _NEWIMAGE(800, 600, 32)
Yes thank you that works. What I have found is that QB64pe does not like an absolute path when loading fonts. Found this out using you snippet. It always returned font was missing with absolute paths. It's something that worked in an older version but not in the new one. Now I only need to place the font into the same folder as the program and it works like it should. SMcNeill thank you very much for helping out this old man!
I find that odd and not at all my experience. I was loading fonts in a program today with absolute path's as I searched for the Best Linux font for Steve's little CONST reference project. I'm using the very latest release of QB64PE too. I strongly suspect that you are typing something in the path incorrectly ! If your on Linux or MAC just 1 letter will kill your absolute path since those file systems are case sensitive ! Windows is a little more forgiving ! I usually use string variables for filenames and I ALWAYS check with _FILEEXISTS first to make sure they are there BEFORE I do a _SNDOPEN or _LOADIMAGE or _LOADFont on an external file ! .

