Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading Fonts
#9
_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!
Reply


Messages In This Thread
Loading Fonts - by cage - 01-12-2026, 12:41 AM
RE: Loading Fonts - by SMcNeill - 01-12-2026, 01:21 AM
RE: Loading Fonts - by cage - 01-12-2026, 03:25 AM
RE: Loading Fonts - by ahenry3068 - 01-12-2026, 03:30 AM
RE: Loading Fonts - by SMcNeill - 01-12-2026, 05:40 AM
RE: Loading Fonts - by cage - 01-12-2026, 07:33 PM
RE: Loading Fonts - by ahenry3068 - 01-12-2026, 07:54 PM
RE: Loading Fonts - by SMcNeill - 01-12-2026, 09:37 PM
RE: Loading Fonts - by cage - 01-13-2026, 01:34 AM
RE: Loading Fonts - by ahenry3068 - 01-13-2026, 04:10 AM
RE: Loading Fonts - by cage - 01-13-2026, 05:41 AM
RE: Loading Fonts - by a740g - 01-13-2026, 08:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Star Truckload of old CP437 compatible fonts mnrvovrfc 2 816 12-03-2023, 07:04 PM
Last Post: vividpixel
  Looking for sample code showing how to make use of different fonts hanness 6 1,265 05-03-2022, 11:00 PM
Last Post: Dav

Forum Jump:


Users browsing this thread: 1 Guest(s)