Linux font configuration file

Source: Internet
Author: User
Linux font configuration file-general Linux technology-Linux technology and application information. For more information, see the following section. At the weekly meeting today, I spoke about my work this week. After talking about the competition and other colleagues, it is very helpful.

The linux font configuration file is located in two places:/etc/X11/xorg. conf, and/etc/fonts. conf.

/Etc/X11/xorg. conf: the basic configuration file of X, so the font is also one of them. In the Section "File" field, add a line of FontPath "PathToNewFont ".

/Etc/fonts. conf /Usr/share/fonts Add a row /Path/to/new/font OK. To make it take effect immediately, call the fc-cache-f command to make it take effect. For example, you can find the newly added font in the kwrite configuration. You can also use fc-list to find the newly added font in the output.

Questions:

What exactly does fs-cache do? Why can I still find the new font in kwrite even if I call fs-cache after deleting the directory of the new fonts. conf file? Why? Where is the font cache?

The font issue should be studied in depth.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.