Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the simplest font configuration method under Linux?

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the knowledge of "what is the simplest font configuration method under Linux". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

I was driven crazy after slowly groping, and finally found a simple way, only a copy and paste action plus a configuration file can be modified.

A copy-and-paste action: place the font file in any subdirectory under / usr/share/fonts, such as the two font files shown in the image.

Usually the introduction of the article is to run what commands to update the cache after this step, but it is not necessary.

One configuration file: / etc/fonts/conf.d/65-nonlatin.conf

Simply explain the classification of fonts, the names of fonts are varied and vary, but they actually come down to three categories: serif, sans serif, and mono. For the sake of simplicity of this article, they are not explained here. These three categories are listed to modify three places in the configuration file.

The figure shows * (serif), with an additional line

Microsoft YaHei

The long list is the names of various fonts, and the higher the priority, the higher the priority, so you have to make sure that your font is in front of all other Chinese fonts.

The other two do the same. Change, save, restart the graphical interface. And then you can see the effect.

Look, this is the legendary Yahei.

This is the end of the content of "what is the simplest font configuration method under Linux". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report