36 lines
1.4 KiB
Plaintext
36 lines
1.4 KiB
Plaintext
--- bg5ps.orig Mon Feb 14 15:46:43 2000
|
|
+++ bg5ps Sat Apr 6 13:16:45 2002
|
|
@@ -11,7 +11,7 @@
|
|
#
|
|
# Revision 1.5 2000/02/14 20:40:04 platin
|
|
#
|
|
-# Change default config file to /etc/chinese/bg5ps.conf
|
|
+# Change default config file to /usr/local/lib/bg5ps/bg5ps.conf
|
|
#
|
|
# Revision 1.4 2000/02/14 20:28:35 platin
|
|
# Automatic selection of fontName in echo Encoding.
|
|
@@ -55,7 +55,7 @@ if wd=="": wd="."
|
|
#start default config file segment
|
|
#Font and font path
|
|
chineseFontPath=wd
|
|
-fontName="ntu_kai"
|
|
+fontName="bsmi00lp"
|
|
|
|
#Output only even or odd
|
|
oddPages=true
|
|
@@ -443,10 +443,10 @@ mpage -2 big5.txt | bg5ps -en big5 -nps
|
|
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/lib/bg5ps/bg5ps.conf.")
|
|
+ if os.path.isfile("/usr/local/lib/g5ps/bg5ps.conf"):
|
|
+ sys.stderr.write("\n /usr/local/lib/bg5ps/bg5ps.conf found. Use configuration file /usr/local/lib/bg5ps/bg5ps.conf")
|
|
+ cf=open("/usr/local/lib/bg5ps/bg5ps.conf","r")
|
|
for l in cf.readlines():
|
|
exec l
|
|
cf.close()
|