在linux系统绘制R词云时中文显示为"口子乱码"
查看linux 中文字体为空
[root@master ~]# fc-list :lang=zh
[root@master ~]#
解决方法:
安装中文支持包
# yum groupinstall chinese-support
查看linux 中文字体
-
[root@master ~]# fc-list :lang=zh
-
# fc-list :lang=zh
-
AR PL UMing TW:style=Light
-
AR PL UMing HK:style=Light
-
AR PL UMing CN:style=Light
-
AR PL UKai TW MBE:style=Book
-
AR PL UKai CN:style=Book
-
AR PL UKai HK:style=Book
-
AR PL UKai TW:style=Book
-
WenQuanYi Zen Hei,文泉驛正黑,文泉驿正黑:style=Regular
-
WenQuanYi Zen Hei Mono,文泉驛等寬正黑,文泉驿等宽正黑:style=Regular
-
AR PL UMing TW MBE:style=Light
-
WenQuanYi Zen Hei Sharp,文泉驛點陣正黑,文泉驿点阵正黑:style=Regular
安装
chinese-support 组件后显示正常
阅读(11486) | 评论(0) | 转发(0) |