Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading Fonts
#7
(01-12-2026, 07:33 PM)cage Wrote: The example above  is an absolute path. I found a solution that does work with a relative path but I am still testing things out. What I did find what does work is the following:

_Font _LoadFont("DejaVuSansMono-Bold.ttf", 14, "monospace") 

I works for screen 0 but not for image windows.
   Are you loading the font FOR that Window.    Each New Image starts up with the default font until you change it for THAT Image Handle
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 792 12-03-2023, 07:04 PM
Last Post: vividpixel
  Looking for sample code showing how to make use of different fonts hanness 6 1,227 05-03-2022, 11:00 PM
Last Post: Dav

Forum Jump:


Users browsing this thread: 1 Guest(s)