#
# 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

#################### 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
