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:
- 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)