Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > by-pkgid > a250f7625d9ae9dd51b3cade84a95593 > files > 3

fonts-ttf-chinese-1.2.6-2mdk.src.rpm

#!/bin/sh

# gs-cjk uses TTF fonts to print CJK files. 
# We register the fonts to ghostscript 6.51.
#
# 2001-07-27 dxiaoming@mandrakesoft.com
# 2002-12-23 pablo@mandrakesoft.com -- added MSungGBK-Light
# 2004-10-01 pablo@mandrakesoft.com -- added GBZenKai-Medium
# 2005-01-07 pablo@mandrakesoft.com -- removed GBSong-Medium

if [ -x /usr/share/ghostscript/Resource/alias-ag14.sh ]; then
    cd /usr/share/ghostscript/Resource
    ./alias-ag14.sh install GBKai-Medium=gkai00mp.ttf
	# those are the real names reported by the ttf files
    ./alias-ag14.sh install GBZenKai-Medium=GBKai-Medium
    # MSung-Light and MKai-Medium are the font names used by qt/kde.
    ./alias-ag14.sh install MKai-Medium=GBKai-Medium
fi