Jira饼图上中文乱码,显示为“口”的解决办法。
1 jira饼图乱码如下显示:
2 下载缺失的fonts安装包
jira上中文字符可以正常显示,但是饼图上中文显示乱码,饼图上的都是fonts格式处理,所以是fonts组件没有安装导致的,centOS6.0已经不支持用yum -y install fonts-chinese这个命令安装中文支持了,需要自己下载fonts安装包
安装包下载地址:http://download.csdn.net/detail/mchdba/8220133
[root@localhost fonts]# rpm -ivh --force --nodeps *.rpm
warning: fonts-chinese-3.02-12.el5.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID 37017186: NOKEY
Preparing... ########################################### [100%]
1:fonts-ISO8859-2-75dpi ########################################### [ 50%]
2:fonts-chinese ########################################### [100%]
/var/tmp/rpm-tmp.gorosC: line 4: /usr/bin/ttmkfdir: 没有那个文件或目录
/var/tmp/rpm-tmp.gorosC: line 5: mkfontdir: command not found
/var/tmp/rpm-tmp.gorosC: line 6: /usr/sbin/chkfontpath: 没有那个文件或目录
/var/tmp/rpm-tmp.gorosC: line 18: mkfontdir: command not found
/var/tmp/rpm-tmp.gorosC: line 19: /usr/sbin/chkfontpath: 没有那个文件或目录
[root@localhost fonts]#
安装缺失的gorosC包
[root@localhost fonts]# yum install -y gorosC*
Loaded plugins: fastestmirror
Existing lock /var/run/yum.pid: another copy is running as pid 5400.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 61 M RSS (1.4 GB VSZ)
Started: Wed Dec 3 13:53:46 2014 - 10:11 ago
State : Sleeping, pid: 5400
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 61 M RSS (1.4 GB VSZ)
Started: Wed Dec 3 13:53:46 2014 - 10:13 ago
State : Sleeping, pid: 5400
有另外一个用户正在使用yum命令,kill另外一个yum命令,然后yum安装ttmkfdir、chkfontpath
[root@localhost fonts]# yum install -y ttmkfdir chkfontpath
最后还是报错:
/var/tmp/rpm-tmp.gorosC: line 19: /usr/sbin/chkfontpath: 没有那个文件或目录
不过,这个错误无关紧要,然后重启jira系统,看到饼图上中文显示正常,如下所示:
----------------------------------------------------------------------------------------------------------------
<版权所有,文章允许转载,但必须以链接方式注明源地址,否则追究法律责任!>
原博客地址: http://blog.itpub.net/26230597/viewspace-1355685/
原作者:黄杉 (mchdba)
----------------------------------------------------------------------------------------------------------------