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

Introduction to the method of installing fonts under windows into Linux system

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Linux(Fedora/Ubuntu/CentOS) fonts are not satisfactory, and many words cannot be displayed in web pages and documents, especially many blanks and garbled characters. In fact, we can add fonts under windows and our favorite fonts to Linux. This article will introduce how to add fonts under Linux.

I. Introduction to Linux font method

1. First, copy the font you want in Windows Control Panel-> Font.

Then go to Linux(Fedora/Ubuntu), create a new folder on the desktop, named font, and put the fonts copied from Windows under this folder.

Find the folder location where Chinese user Linux fonts are stored, usually under/usr/share/fonts/zh_CN/. If there is no such directory, it may be under/usr/share/fonts/chinese/.

2. Open the terminal and enter the root state. To create a new folder under the Fonts folder, type

mkdir /usr/share/fonts/zh_CN/micro

Here's how to move all the fonts into this folder

The requested URL/font/*/usr/share/fonts/zh_CN/micro/was not found on this server.

Note that my login username is jb51.net. When you enter the above statement, you can change it to your own username.

3. Then grant permissions to this folder.

chmod 775 /usr/share/fonts/zh_CN/micro

4. Create font cache

cd /usr/share/fonts/winsudo mkfontscalesudo mkfontdirsudo fc-cache -fv

OK, now Linux font added, on the desktop, right click, click "Set desktop background", select "Font", see if you can see the font added.

II. Summary

In general, adding fonts is not difficult, everyone is familiar with Linux, in fact, many methods and Windows operating methods are the same.

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