Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am wondering how a system knows which font should be used for an output. E.g. recently I was setting up my Debian for Japanese support, so first: installed Japanese locale, then a package with fonts, rebooted - and whola! - the system is in Japanese now. But I would not get that without installing the specific fonts. How does the system know that a particular font should be used for particular language/locale? Thank you.

share|improve this question
up vote 3 down vote accepted

The piece of software responsible for font selection in Linux is Fontconfig. It examines the properties of each font as well as its own configuration to determine which ones have glyphs that cover specific languages partially or fully and substitutes them as appropriate.

share|improve this answer
Thank you very much! – BasicWolf Feb 7 '13 at 12:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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