head	1.1;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1
	RELEASE_4_4_0:1.1;
locks; strict;
comment	@# @;


1.1
date	2001.07.30.05.52.34;	author clive;	state Exp;
branches;
next	;


desc
@@


1.1
log
@This package contains the standard Big5+ Chinese Ming 24x24 bitmap font (and
a resized 16x16 bitmap font) by CMEX and DynaLab for the X Window System
(PCF). This is one of the few Big5 or Big5+ Chinese bitmap fonts on the
Internet that is DFSG-compliant.

The font was designed by DynaLab and released by CMEX as part of the
proposed Big5+ standard documentation. It was then converted to HBF and BDF
format and further modified by Wei-Lun Chao in September 1998.

Submitted by: statue@@freebsd.sinica.edu.tw
Handed to me via: keichii
@
text
@#!/bin/sh
set -e

fontdir="/usr/X11R6/lib/X11/fonts/local"

# $fontdir no longer exists;
# remove the FontPath from /etc/X11/XF86Config

if [ -f /etc/X11/XF86Config ]
then
    echo "Removing FontPath \"$fontdir\" from /etc/X11/XF86Config ..."
    tmpfile="/tmp/tempfile"
    sed -e '/Section  *"Files"/,/EndSection/{' \
	-e "\\%^	*FontPath *[\"']$fontdir%d" \
	-e '}' /etc/X11/XF86Config >> $tmpfile
    mv -f $tmpfile /etc/X11/XF86Config
else
    echo "/etc/X11/XF86Config not found!"
    echo "You need to remove the line"
    echo "    FontPath   \"$fontdir/:unscaled\""
    echo "from /etc/X11/XF86Config yourself, otherwise X may fail to work."
fi
@
