![]() ![]() ![]() var/cache/fontconfig: cleaning cache directory root/.fonts: skipping, no such directory usr/local/share/fonts: skipping, no such directory usr/share/X11/fonts/TTF: skipping, no such directory usr/share/X11/fonts/Type1: skipping, no such directory usr/share/fonts: caching, new cache contents: 2 fonts, 0 dirs To update the font cache, use the following command:įc-cache fonts]# cd fonts]# fonts]# fonts]# fc-cache -fv We only need to carry out relevant operations.Ĭopy MSYH.TTF to the directory / usr/share/fonts / by using rz, Xftp, etc The method of installing fonts on centos is the same as that on ubuntu. To view the installed Chinese fonts in the system, we can use the following command: FC list: lang = zh 2, Install fonts Sudo apt-get -y install fontconfig xfonts-utils On ubuntu, use the following command to install: On centos, use the following command to install: If there is no such command in the system, we need to install the relevant software package first. To view the installed fonts in the system, we can use the FC list command to view them. 1, View system fontsīefore starting the installation, let's check the installed fonts in the system. Enter the font library directory, refresh the system and take effect immediately, enter the command: mkfontscale mkfontdir fc-cache. Copy the font library to the created font library directory / usr/share/fonts /.ģ. Go to the font library directory of "Windows" under "Windows". Create a new path to store font library: usr/share/fonts/Ģ. Here is an example of installing all Windows fonts.ġ. The Linux font file is placed in / usr/share/font /, just copy the font file here. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |