#!/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

if [ -x /usr/share/ghostscript/Resource/alias-ac13.sh ]; then
    cd /usr/share/ghostscript/Resource
    ./alias-ac13.sh install B5Song-Medium=bsmi00lp.ttf
    ./alias-ac13.sh install B5Kai-Medium=bkai00mp.ttf
    # MSung-Light and MOESung-Light are the font names used by qt/kde.
    # ./alias-ac13.sh install MSung-Light=B5Song-Medium
    # This causes conflict with gb2312 MSung-Light.
    ./alias-ac13.sh install MOESung-Light=B5Song-Medium
fi
