diff options
author | Yoshio MITA <mita@FreeBSD.org> | 2002-01-21 19:25:14 +0000 |
---|---|---|
committer | Yoshio MITA <mita@FreeBSD.org> | 2002-01-21 19:25:14 +0000 |
commit | b9fc6202319a6bd9b9f1ddde091e5d854a64b989 (patch) | |
tree | 506a8db1f2db3127194c2ebbe97b9a35cbc47146 /japanese/dvipsk | |
parent | 6b79a3db7f218636d635cefceca7c74d659bf7a6 (diff) |
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
Notes
Notes:
svn path=/head/; revision=53472
Diffstat (limited to 'japanese/dvipsk')
-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// ****************************************************************************** |