Issue record for ubuntu16.04 add Windows fonts (fix Jira chart garbled problem)

Source: Internet
Author: User

Recently encountered Jira in the new Ubuntu machine table in Chinese does not correctly display the problem, the solution is to install Chinese fonts for Ubuntu, we choose to copy the fonts on the Windows to Ubuntu installation method, the steps are as follows:

    1. Copy the fonts that need to be installed from Windows (copy the C:\windows\Fonts folder) onto Linux, assuming the directory on the server is named/home/usrname/download/fonts

2. In the terminal, enter the sudo cp-r/home/usrname/download/fonts/usr/share/fonts/#将字体文件夹全部复制到/usr/share/fonts/directory (or any subdirectory under the folder) )

3. In the terminal, enter the following three commands in turn:

sudo mkfontscalesudo mkfontdir #刷新字体缓存sudo fc-cache -fv

At this point the new font installation is complete, restart Jira, you can solve the Jira in the chart garbled problem

If you do not have a/usr/share/fonts/folder, or if you do not have the above three commands, it is possible that a package is not installed, see below:

# mkfontscale (如果提示 mkfontscale: command not found,则需要安装ttf-mscorefonts-installer # sudo apt-get install ttf-mscorefonts-installer)# mkfontdir # fc-cache -fv (如果提示 fc-cache: command not found,则需要安装fontconfig# sudo apt-get install fontconfig

After installing these packages, the/usr/share/fonts/folder will be available.

Issue record for ubuntu16.04 add Windows fonts (fix Jira chart garbled problem)

Related Article

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.