QB64 Phoenix Edition
Loading Fonts - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11)
+--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2)
+--- Thread: Loading Fonts (/showthread.php?tid=4320)

Pages: 1 2


RE: Loading Fonts - cage - 01-13-2026

I saw your section on Linux loading fonts.  Yes it now works with absolute paths.  Thank you for your efforts. Smile


RE: Loading Fonts - a740g - 01-13-2026

Actually, _LOADFONT has some built-in logic to search for fonts in known locations across Windows, Linux, and macOS. If the file name and relative path are correct, _LOADFONT will successfully load it from one of those locations. User-specific directories are prioritized over system directories.

The search order is: current_dir > user_font_dir > system_font_dir.