Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Having a Heck of a Time...
#6
Make sure the spelling of the paths and the font name are exact. Linux is a case-sensitive operating system.

The paths will be different eg. on Debian that they will be on eg. Slackware. The starting path is usually `/usr/share/fonts` and then there might be a "TTF" or "OTF" directory, or the fonts might be classified by "family", which is roughly the font name such as "Liberation". You should not be interested in any other folder. There is one full of ancient fonts to be used by terminals, especially the startup "tty" ones, and other X-dot-org stuff.

You could put fonts under `/home/(user)/.local/share/fonts`. ("(user)" is your handle used to log into the desktop.) You will have to create that directory because a Linux installer will not do it for you. It's not recommended to use any other "local" path such as that for GIMP.

Make sure you're calling `_LOADFONT()` after the `SCREEN` is set. Once this drove me nuts, but with `_RGB()` because the latter kept returning values from zero to 15 instead of the long-integer mumbo-jumbo.
Reply


Messages In This Thread
Having a Heck of a Time... - by SpriggsySpriggs - 10-05-2023, 12:20 PM
RE: Having a Heck of a Time... - by SMcNeill - 10-05-2023, 01:51 PM
RE: Having a Heck of a Time... - by SMcNeill - 10-05-2023, 02:27 PM
RE: Having a Heck of a Time... - by Jack - 10-05-2023, 03:59 PM
RE: Having a Heck of a Time... - by mnrvovrfc - 10-05-2023, 07:45 PM



Users browsing this thread: 2 Guest(s)