Anyone knows how to trace this?

I'm learning the way font works by doing this BTW.

  • What do you mean by console? The text one (no X), or an X terminal? – choroba Jul 23 '12 at 9:50

It uses PSF, the fonts are traditonally located under /usr/share/consolefonts.

There is no way to tell "which font is the current one", in the sense that once a font has been loaded, the file itself could be modified or removed. You can, however, figure out which font is loaded by default by looking at your distribution-specific configuration files; or, you could use setfont -o <file> to dump the loaded font to a file.

  • There's no such file... – suer Jul 23 '12 at 8:13
  • sorry, typo, it was consolefontS. It was there on most distributions I tried, which one are you using ? – b0fh Jul 23 '12 at 8:16
  • I'm on Fedora release 8,and there is no such file ... – suer Jul 23 '12 at 8:21
  • Ah, /lib/kbd/consolefonts then. – b0fh Jul 23 '12 at 9:50
  • This directory do exist, but how do I know which font is the current one? – suer Jul 24 '12 at 3:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.