diff options
author | mita <mita@FreeBSD.org> | 2002-01-22 03:25:14 +0800 |
---|---|---|
committer | mita <mita@FreeBSD.org> | 2002-01-22 03:25:14 +0800 |
commit | 6f76139617760ab6402b4c1f691efb24c719f1f8 (patch) | |
tree | 18b1e2832f315a0736a3c00b8d6c3b742e4b30e1 /japanese | |
parent | abac31d1fcc95eff942c3b05d9789a430156dc7d (diff) | |
download | freebsd-ports-gnome-6f76139617760ab6402b4c1f691efb24c719f1f8.tar.gz freebsd-ports-gnome-6f76139617760ab6402b4c1f691efb24c719f1f8.tar.zst freebsd-ports-gnome-6f76139617760ab6402b4c1f691efb24c719f1f8.zip |
Change default behavior for dvips: Make english fonts ready for
`cut-and-paste'after PDF conversion by ghostscript.
Submitted by: Jun YAMASHITA [ports-jp 12248]
Reviewed by: ports-jp@jp.FreeBSD.org ML
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/dvipsk/Makefile | 2 | ||||
-rw-r--r-- | japanese/dvipsk/files/patch-ab | 16 | ||||
-rw-r--r-- | japanese/dvipsk/pkg-descr | 18 | ||||
-rw-r--r-- | japanese/dvipsk/pkg-message | 15 |
4 files changed, 31 insertions, 20 deletions
diff --git a/japanese/dvipsk/Makefile b/japanese/dvipsk/Makefile index a10ba3110187..0f1fbaa44c79 100644 --- a/japanese/dvipsk/Makefile +++ b/japanese/dvipsk/Makefile @@ -7,7 +7,7 @@ PORTNAME= dvipsk PORTVERSION= 5.78a -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= japanese print MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/dvips/ \ ftp://ftp.center.osaka-u.ac.jp/CTAN/dviware/dvipsk/ \ diff --git a/japanese/dvipsk/files/patch-ab b/japanese/dvipsk/files/patch-ab index 95ef6ba14047..c0208af7a211 100644 --- a/japanese/dvipsk/files/patch-ab +++ b/japanese/dvipsk/files/patch-ab @@ -1,5 +1,5 @@ ---- dvipsk/config.ps.orig Sun Jun 28 11:43:25 1998 -+++ dvipsk/config.ps Sun Jun 28 11:46:02 1998 +--- dvipsk/config.ps.orig Tue Jan 22 03:32:55 2002 ++++ dvipsk/config.ps Tue Jan 22 04:03:44 2002 @@ -4,9 +4,9 @@ * m 470000 @@ -12,3 +12,15 @@ * * Additional .map files * +@@ -14,6 +14,11 @@ + * p +lafonts.map + * p +cyrfonts.map + * p +eufonts.map ++* ++* These two lines are added to obtain good-looking PDF files. ++* (Refer [ports-jp 12248]) ++p +psfonts.cmz ++p +psfonts.amz + * + * Default resolution. + * diff --git a/japanese/dvipsk/pkg-descr b/japanese/dvipsk/pkg-descr index 076f82fc8ceb..324da2ba8876 100644 --- a/japanese/dvipsk/pkg-descr +++ b/japanese/dvipsk/pkg-descr @@ -4,16 +4,14 @@ METAFONT exists on the system, or can be converted from `gf' to `pk' format on demand. Dvips also supports `tpic', `psfig', `emtex', and `METAPOST'. -The dvipsk program is modified version of Tom Rokicki's dvips and -use the kpathsea library for configuration and path searching. -You may have to set some variables in the path configuration file for -kpathsea `/usr/local/share/texmf/web2c/texmf.cnf' so that the program -can find PK fonts, Virtual fonts and TFM files. For example, - -PKFONTS = .:/usr/local/lib/fonts/{pk118:pk240:pk300:pk360:pk400:pk600}:{$TEXMF -/fonts:$VARTEXFONTS}//pk/{$MAKETEX_MODE:modeless}// -VFFONTS = .:{/usr/local/share/fonts/makejvf:$TEXMF/fonts}//vf// -TFMFONTS = .:{/usr/local/share/fonts/makejvf:$TEXMF/fonts:$VARTEXFONTS}//tfm// +Configuration file is /usr/local/share/texmf/dvips/base/config.ps +In this configuration, it is possible to do convert them to +PDF file through ghostscript, then read by Adobe Acrobat to perform +`cut and paste' of English fonts. If you don't like this behavior +(i.e. You want to embed bitmap information of english fonts; cut and + paste becomes impossible), delete or comment following two lines: +p +psfonts.cmz +p +psfonts.amz - Makoto WATANABE watanabe@zlab.phys.nagoya-u.ac.jp diff --git a/japanese/dvipsk/pkg-message b/japanese/dvipsk/pkg-message index bf54a7e63192..965ee1edf7b9 100644 --- a/japanese/dvipsk/pkg-message +++ b/japanese/dvipsk/pkg-message @@ -2,12 +2,13 @@ This program requires some japanese virtual fonts. For that purpose, you can install `ja-makejvf-fkr-1.0' or `ja-vftool-1.2' package. -Also you may have to set some variables in the path configuration file -for kpathsea `/usr/local/share/texmf/web2c/texmf.cnf' so that the -program can find PK fonts, Virtual fonts and TFM files. For example, +Configuration file is /usr/local/share/texmf/dvips/base/config.ps +In this configuration, it is possible to do convert them to +PDF file through ghostscript, then read by Adobe Acrobat to perform +`cut and paste' of English fonts. If you don't like this behavior +(i.e. You want to embed bitmap information of english fonts; cut and + paste becomes impossible), delete or comment following two lines: +p +psfonts.cmz +p +psfonts.amz -PKFONTS = .:/usr/local/lib/fonts/{pk118:pk240:pk300:pk360:pk400:pk600}:{$TEXMF -/fonts:$VARTEXFONTS}//pk/{$MAKETEX_MODE:modeless}// -VFFONTS = .:{/usr/local/share/fonts/makejvf:$TEXMF/fonts}//vf// -TFMFONTS = .:{/usr/local/share/fonts/makejvf:$TEXMF/fonts:$VARTEXFONTS}//tfm// ****************************************************************************** |