diff options
Diffstat (limited to 'japanese/dvi2ps/files/patch-ab')
-rw-r--r-- | japanese/dvi2ps/files/patch-ab | 102 |
1 files changed, 64 insertions, 38 deletions
diff --git a/japanese/dvi2ps/files/patch-ab b/japanese/dvi2ps/files/patch-ab index e1bdef11aa44..04eb5c6446b9 100644 --- a/japanese/dvi2ps/files/patch-ab +++ b/japanese/dvi2ps/files/patch-ab @@ -1,39 +1,65 @@ -*** /dev/null Mon Oct 13 13:41:43 1997 ---- lib/fontdesc Mon Oct 13 13:43:32 1997 -*************** -*** 0 **** ---- 1,34 ---- -+ # -+ # dvi2ps fontdesc file for FreeBSD jtex209 and platex ports collection. -+ # Print out Japanese by printer font and English by pk font. -+ # Nov. 9 1996 MITA Yoshio <mita@jp.FreeBSD.org> -+ -+ # change resolution according to your site. -+ define RESOLUTION 300 -+ resolution $RESOLUTION -+ -+ define f /usr/local/lib/fonts -+ define af /usr/local/share/tex/jfonts/jfms -+ define pf /usr/local/lib/texmf/fonts/public/ptex -+ define pfnew /usr/local/share/texmf/fonts/tfm/ptex -+ define nsf /usr/local/share/tex/jfonts -+ -+ include dvi2.ps -+ -+ # English font with pk fonts -+ font pk * 3 $f/pk$RESOLUTION/%f.%mpk -+ -+ # jstfm NTT JTeX with DNP font tfm -+ font jstfm * 0 $nsf/mincho/%f.tfm -+ font jstfm * 0 $nsf/gothic/%f.tfm -+ builtin dm%j SINR Ryumin-Light-H +--- /dev/null Sat May 12 10:56:25 2001 ++++ lib/fontdesc Sat May 12 13:00:38 2001 +@@ -0,0 +1,62 @@ ++# ++# dvi2ps fontdesc file for FreeBSD jtex209 and platex ports collection. ++# Print out Japanese by printer font and English by pk font. ++# Nov. 9 1996 MITA Yoshio <mita@jp.FreeBSD.org> ++# May 12 2001 MITA Yoshio <mita@FreeBSD.org> ++ ++# change RESOLUTION number according to your printer resolution!!! ++define RESOLUTION 300 ++resolution $RESOLUTION ++ ++# ASCII pLaTeX2e related definitions ++# copied from ./configk and modified. ++ ++define tmf /usr/local/share/texmf/fonts ++define enc /usr/local/share/texmf/dvips/base/ ++#cconvdir cconv ++vfontcap /usr/local/lib/VFlib/2.25.2/vfontcap ++ ++# Old LaTeX (version 2.09 aka NTT-jTeX 1.52 and ASCII pTeX 1.7) related defs. ++ ++define f /usr/local/lib/fonts ++define af /usr/local/share/tex/jfonts/jfms ++define nsf /usr/local/share/tex/jfonts ++ ++# Header file for PostScript ++include headers/dvi2.ps ++ ++#################### NTT jTeX #################### ++# jstfm NTT JTeX with DNP font tfm ++font jstfm * 0 $nsf/mincho/%f.tfm ++font jstfm * 0 $nsf/gothic/%f.tfm ++builtin dm%j SINR Ryumin-Light-H + builtin dg%j SINR GothicBBB-Medium-H -+ -+ -+ # built-in kanji for ASCII Nihongo TeX -+ include fonts/ascfix-c.ps -+ font jfm * 0 $af/%f.tfm -+ font jfm * 0 $pf/tfm/%f.tfm -+ font jfm * 0 $pfnew/%f.tfm -+ builtin min JINA "/Ryumin-Light-H Ryumin-Metrics Set-New-Metrics" -+ builtin goth JINA "/GothicBBB-Medium-H Gothic-Metrics Set-New-Metrics" ++ ++#################### ASCII pTeX / pLaTeX2e #################### ++# First, convert pTeX dvi -> built-in kanji dvi by virtual font ++font jvf * 0 $tmf/vf//makejvf/ ++# then, use built-in kanji ++font jfm * 0 $af/%f.tfm ++font jfm * 0 $tmf/tfm/makejvf// ++map rml JSNR Ryumin-Light-H ++map gbm JSNR GothicBBB-Medium-H ++map rmlv JSNR Ryumin-Light-V ++map gbmv JSNR GothicBBB-Medium-V ++map ryumin-l JSNR Ryumin-Light-H ++map gtbbb-m JSNR GothicBBB-Medium-H ++map ryumin-l-v JSNR Ryumin-Light-V ++map gtbbb-m-v JSNR GothicBBB-Medium-V ++ ++#################### Roman characters #################### ++# For Roman character, try searching pk fonts (pkfonts?00-1.0) at first ++font pk * 4 /usr/local/lib/fonts/pk$RESOLUTION/%f.%mpk ++ ++# if not, Try automatically generated pkfonts. ++font pk * 4 /var/tmp/texfonts/pk// ++ ++# Compatibility with times.sty of LaTeX2e (ja-ptex- package) ++# You can use Times-Roman font in LaTeX by putting one line in TeX source file: ++# \usepackage{times} ++# For your info: To preview DVI file with times font, you should use ++# ja-vfxdvi300-17 package for now (May 2001). ++fontdesc fonts$kpse/psfonts-8r |