Archlinux 2012.09.07发布及近期几个更新问题 » 荒野无灯weblog

Keep It Simple, Stupid.

荒野无灯weblog

Archlinux 2012.09.07发布及近期几个更新问题

自8月4号那次更新后,我再也没有更新。所以啊,这次我又是大更新。 按规矩,先上官网看看行情。

netcfg-2.8.9 drops deprecated rc.conf compatibility 2012-08-11 - Florian Pritz Users of netcfg should configure all interfaces in /etc/conf.d/netcfg rather than /etc/rc.conf.

Fontconfig 2.10.1 update - manual intervention required 2012-09-06 - Andreas Radke The fontconfig 2.10.1 update overwrites symlinks created by the former package version. These symlinks need to be removed before the update:

rm /etc/fonts/conf.d/20-unhint-small-vera.conf  
rm /etc/fonts/conf.d/20-fix-globaladvance.conf  
rm /etc/fonts/conf.d/29-replace-bitmap-fonts.conf  
rm /etc/fonts/conf.d/30-metric-aliases.conf  
rm /etc/fonts/conf.d/30-urw-aliases.conf  
rm /etc/fonts/conf.d/40-nonlatin.conf  
rm /etc/fonts/conf.d/45-latin.conf  
rm /etc/fonts/conf.d/49-sansserif.conf  
rm /etc/fonts/conf.d/50-user.conf  
rm /etc/fonts/conf.d/51-local.conf  
rm /etc/fonts/conf.d/60-latin.conf  
rm /etc/fonts/conf.d/65-fonts-persian.conf  
rm /etc/fonts/conf.d/65-nonlatin.conf  
rm /etc/fonts/conf.d/69-unifont.conf  
rm /etc/fonts/conf.d/80-delicious.conf  
rm /etc/fonts/conf.d/90-synthetic.conf  
pacman -Sy fontconfig
Main systemwide configuration should be done by symlinks (especially for autohinting, sub-pixel and lcdfilter):

cd /etc/fonts/conf.d  
ln -s ../conf.avail/XX-foo.conf
Also check Font Configuration and Fonts.

做完这些工具后,再更新: pacman -Syu 就不会出错。


关于更新了fontconfig以后的warning的问题 安装了最新的fontconfig以后会出现如下警告(如果你安装了wqy字体):

updating font cache... Fontconfig warning: "/etc/fonts/conf.d/44-wqy-microhei.conf", line 6: Having multiple values in isn't supported and may not works as expected Fontconfig warning: "/etc/fonts/conf.d/65-wqy-zenhei.conf", line 11: Having multiple values in isn't supported and may not works as expected Fontconfig warning: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 33: Having multiple values in isn't supported and may not works as expected Fontconfig warning: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 55: Having multiple values in isn't supported and may not works as expected done. Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.

更正方法是把:


WenQuanYi Micro Hei
文泉驿微米黑
文泉驿微米黑

改成


WenQuanYi Micro Hei


文泉驿微米黑


文泉驿微米黑

这种形式。(蛋痛不?),然后再fc-cache -f 会发现不再提示这个warning信息了。 关于

Fontconfig warning: “/etc/fonts/conf.d/50-user.conf”, line 9: reading configurations from ~/.fonts.conf is deprecated.

@依云 :消除这个 deprecated 的警告的正确方法是把配置文件移到 ~/.config/fontconfig/fonts.conf。

Tagged in :

All Comments (0)
Gravatar image
No Comments