闲余之时,我为fontconfig打了补丁,在桌面环境下能显示中文字体的粗体、斜体及粗斜体。
下载:
http://www.linuxsir.com.cn/software/freebsd/freetype2-2.1.4_1.tbz
http://www.linuxsir.com.cn/software/freebsd/fontconfig-2.2.1.tbz
http://www.linuxsir.com.cn/software/freebsd/Xft-2.1.2.tbz
http://www.linuxsir.com.cn/software/freebsd/fonts.conf
pkg_delete freetype2
pkg_delete fontconfig
pkg_delete Xft
pkg_add freetype2-2.1.4_1.tbz
pkg_add fontconfig-2.2.1.tbz
pkg_add Xft-2.1.2.tbz
cp fonts.conf /usr/X11R6/etc/fonts
cp /whereis/is/your/simsun.ttf /usr/share/fonts #如果不是此目录,需修改/etc/X11R6/etc/fonts
本文介绍了一项针对fontconfig的补丁工作,使得在桌面环境中能够更好地支持中文字体的粗体、斜体及粗斜体显示。通过安装特定版本的freetype2、fontconfig和Xft,并进行相应的配置,可以有效改善中文字体的显示效果。
1262

被折叠的 条评论
为什么被折叠?



