页次: 1
给Ubuntu的中文字体fonts.conf打了个包:
https://github.com/cuihaoleo/pakkuman/b ... z?raw=true
感觉打包比直接覆盖干净、保险。
depends=('wqy-zenhei' 'ttf-arphic-ukai' 'ttf-arphic-uming' 'fontconfig-ubuntu')
英文字体配置在fontconfig-ubuntu,这个包只提供中文的。
cuihao@cuihao-arch ~ $ pacman -Ql fontconfig-ubuntu-zh-cn
fontconfig-ubuntu-zh-cn /etc/
fontconfig-ubuntu-zh-cn /etc/fonts/
fontconfig-ubuntu-zh-cn /etc/fonts/conf.avail/
fontconfig-ubuntu-zh-cn /etc/fonts/conf.avail/25-ttf-arphic-ukai-render.conf
fontconfig-ubuntu-zh-cn /etc/fonts/conf.avail/25-ttf-arphic-uming-bitmaps.conf
fontconfig-ubuntu-zh-cn /etc/fonts/conf.avail/25-ttf-arphic-uming-render.conf
fontconfig-ubuntu-zh-cn /etc/fonts/conf.avail/30-cjk-aliases.conf
fontconfig-ubuntu-zh-cn /etc/fonts/conf.avail/35-ttf-arphic-ukai-aliases.conf
fontconfig-ubuntu-zh-cn /etc/fonts/conf.avail/35-ttf-arphic-uming-aliases.conf
fontconfig-ubuntu-zh-cn /etc/fonts/conf.avail/41-ttf-arphic-ukai.conf
fontconfig-ubuntu-zh-cn /etc/fonts/conf.avail/41-ttf-arphic-uming.conf
fontconfig-ubuntu-zh-cn /etc/fonts/conf.avail/44-wqy-zenhei.conf
fontconfig-ubuntu-zh-cn /etc/fonts/conf.avail/64-ttf-arphic-uming.conf
fontconfig-ubuntu-zh-cn /etc/fonts/conf.avail/69-language-selector-zh-cn.conf
fontconfig-ubuntu-zh-cn /etc/fonts/conf.avail/75-ttf-arphic-ukai-select.conf
fontconfig-ubuntu-zh-cn /etc/fonts/conf.avail/90-ttf-arphic-ukai-embolden.conf
fontconfig-ubuntu-zh-cn /etc/fonts/conf.avail/90-ttf-arphic-uming-embolden.conf
fontconfig-ubuntu-zh-cn /etc/fonts/conf.avail/99-language-selector-zh.conf
Site: CVHC.CC Twitter: @cuihaoleo Org: LUG@USTC
AD: ~欢迎参与志愿计算~
离线
离线
为什么不上传PKGBUILD到aur?
[fracting的大作]Wine使用中的一些常见误区
http://forum.ubuntu.org.cn/viewtopic.php?f=121&t=363147
顺便学习一下对待开源软件的正确态度
离线
'wqy-zenhei' 'ttf-arphic-ukai' 'ttf-arphic-uming' 一个都美装 :em11
离线
为什么不上传PKGBUILD到aur?
:em01 想传就去吧:
# Contributor: cuihao <cuihao dot leo at gmail dot com>
pkgname=fontconfig-ubuntu-zh-cn
_language_selector=0.60
_ttf_arphic_ukai=0.2.20080216.1
_ttf_arphic_uming=0.2.20080216.1
_ttf_wqy_zenhei=0.9.45
pkgver=1
pkgrel=1
pkgdesc="Chinese font configs from "
arch=('i686' 'x86_64')
depends=('wqy-zenhei' 'ttf-arphic-ukai' 'ttf-arphic-uming' 'fontconfig-ubuntu')
license=('custom')
install=fontconfig.install
source=(
"http://archive.ubuntu.com/ubuntu/pool/main/l/language-selector/language-selector_${_language_selector}.tar.gz"
"http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-ukai/ttf-arphic-ukai_${_ttf_arphic_ukai}.orig.tar.gz"
"http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_${_ttf_arphic_uming}.orig.tar.gz"
"http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-wqy-zenhei/ttf-wqy-zenhei_${_ttf_wqy_zenhei}.orig.tar.gz"
)
md5sums=(
'a36bdbb76af1795fbfcdcfbebdf09be4'
'4d3beb55db000bfedd18c9c7d6e631d8'
'd219fcaf953f3eb1889399955a00379f'
'4c6c3f4e902dd5ee0a121e8c41d040bd'
)
package() {
mkdir -p $pkgdir/etc/fonts/conf.avail/
cd $srcdir/language-selector-${_language_selector}/fontconfig
install -Dm0644 30-cjk-aliases.conf $pkgdir/etc/fonts/conf.avail/
install -Dm0644 69-language-selector-zh-cn.conf $pkgdir/etc/fonts/conf.avail/
install -Dm0644 99-language-selector-zh.conf $pkgdir/etc/fonts/conf.avail/
cd $srcdir
for _f in *.conf
do
install -Dm0644 $_f $pkgdir/etc/fonts/conf.avail/$_f
done
cd $srcdir/wqy-zenhei
for _f in *.conf
do
install -Dm0644 $_f $pkgdir/etc/fonts/conf.avail/$_f
done
rm $pkgdir/etc/fonts/conf.avail/43-wqy-zenhei-sharp.conf
}
Site: CVHC.CC Twitter: @cuihaoleo Org: LUG@USTC
AD: ~欢迎参与志愿计算~
离线
支持 :em38 只是我一般用到的字体不多,一般安装xorg的字体和wqy就够了。
just for fun :-)
离线
uming 得要……
ukai 好讨厌……
离线
求教,这个怎么用啊?直接覆盖上去吗?
离线
页次: 1