summaryrefslogtreecommitdiff
path: root/print/cnprint/patches
diff options
context:
space:
mode:
authorhubertf <hubertf>2002-07-02 00:24:35 +0000
committerhubertf <hubertf>2002-07-02 00:24:35 +0000
commit7f5acd67b240f5deac9e4f1d44ed67c3c4ea2b39 (patch)
tree5c9b02f9736c93be7576154ed1bcb0bee821549b /print/cnprint/patches
parent34ea8b10d6947a989bd74648c735292bf5f5ed4f (diff)
downloadpkgsrc-7f5acd67b240f5deac9e4f1d44ed67c3c4ea2b39.tar.gz
Add cnprint-3.30b: Print & convert CJK style text to PostScript
CNPRINT is a utility to print Chinese/Japanese/Korean (CJK) text (or convert to PostScript) under DOS, VMS and UNIX systems. It works just as a print command on your system. Currently GB, Hz, zW, BIG5, CNS, JIS, EUC, Shift-JIS, KSC, UTF8, UTF7 and UTF16 formats are supported. CNPRINT also has many other features, among them: * print all CJK codes using a single Unicode CJK font * print GB using Big5 fonts or print Big5 using GB fonts * multiple columns, vertical printing, change font or character size within document * phrase-based GB<->BIG5 conversions * built-in HZ<->GB conversion * repair/re-format functions for CJK text * envelope and address label printing * decode MIME quoted printable (=20=3C=5E like text) * true type fonts (TTF) support With its full Unicode support, it should be able to print other language (e.g. Thai, Vietnames, Arabic as well). For more information, please read the help file. Package created after reading Hal Snyder's excellent article on DaemonNews: http://ezine.daemonnews.org/200202/japanese-netbsd.html
Diffstat (limited to 'print/cnprint/patches')
-rw-r--r--print/cnprint/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/print/cnprint/patches/patch-aa b/print/cnprint/patches/patch-aa
new file mode 100644
index 00000000000..56e5182a7c5
--- /dev/null
+++ b/print/cnprint/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/07/02 00:24:35 hubertf Exp $
+
+--- cnprint330b.c.orig Tue Jul 2 01:22:08 2002
++++ cnprint330b.c
+@@ -6216,7 +6216,7 @@
+ if (s==NULL) {
+ defpath[0]='\0';
+ #ifdef unix
+- strcpy(defpath, "/usr/local/src/cnprint");
++ strcpy(defpath, PREFIX "/share/cnprint");
+ #endif
+ s=defpath;
+ }