[ 已解决 ] 文泉驿点阵宋体问题

系统会提示一堆如下的错误:

Fontconfig error: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 28: invalid attribute 'equal'
Fontconfig error: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 45: invalid attribute 'equal'
Fontconfig error: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 62: invalid attribute 'equal'
Fontconfig error: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 79: invalid attribute 'equal'
Fontconfig error: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 96: invalid attribute 'equal'
Fontconfig error: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 113: invalid attribute 'equal'
Fontconfig error: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 130: invalid attribute 'equal'
Fontconfig error: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 147: invalid attribute 'equal'
Fontconfig error: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 164: invalid attribute 'equal'
Fontconfig error: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 181: invalid attribute 'equal'
Fontconfig error: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 198: invalid attribute 'equal'
Fontconfig error: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 215: invalid attribute 'equal'

fontconfig的版本是2.10.92-114.1, 何解?

把那个文件的内容贴下。

pastebin.com/VazFJfVc

感谢回报。这就去修复。

你自己修的话可以这样:

sudo sed -i “s/equal/qual/” /usr/share/wqy-bitmap-fonts/conf.avail/85-wqy-bitmapsong.conf

多谢, 原来多了个字母

是,这包是老外维护的,也不精心点,两个礼拜前同一个 bug 老外修过一次,居然修一半留一半,我无语了。