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
	RELEASE_4_3_0:1.1
	RELEASE_4_2_0:1.1;
locks; strict;
comment	@# @;


1.1
date	2000.11.03.12.26.53;	author kevlo;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Update chinese/bg5ps to 1.3.0p3.  This version has two new features:

- Support both GB2312 and Big5 encodings.
- It can now use TTC and TTF fonts.

It's also the final version of bg5ps.

PR: 22549
Submitted by: MAINTAINER
@
text
@--- bg5ps.orig	Thu Nov  2 23:50:38 2000
+++ bg5ps	Thu Nov  2 23:55:25 2000
@@@@ -1,4 +1,4 @@@@
-#!/usr/bin/python
+#!/usr/local/bin/python
 ################################################################################
 # bg5ps.py which use the ttf2ps program to convert the Big5 Coding chinese     #
 # text into printable postscript file.  Since it uses true type font, the      #
@@@@ -443,10 +443,10 @@@@
                 exec l
             cf.close()
         else:
-            sys.stderr.write("\n~/.bg5ps.conf not found.\n Trying /etc/chinese/bg5ps.conf.")
-            if os.path.isfile("/etc/chinese/bg5ps.conf"):
-                sys.stderr.write("\n /etc/chinese/bg5ps.conf found. Use configuration file /etc/chinese/bg5ps.conf")
-                cf=open("/etc/chinese/bg5ps.conf","r")
+            sys.stderr.write("\n~/.bg5ps.conf not found.\n Trying /usr/local/etc/bg5ps.conf.")
+            if os.path.isfile("/usr/local/etc/bg5ps.conf"):
+                sys.stderr.write("\n /usr/local/etc/bg5ps.conf found. Use configuration file /usr/local/etc/bg5ps.conf")
+                cf=open("/usr/local/etc/bg5ps.conf","r")
                 for l in cf.readlines():
                     exec l
                 cf.close()
@
