blob: f7b4bd45fb82180bc11f037bfbc5fcce0fcdb44a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
# GEN_FONT.BAT作成用テンプレート サンプル
# By 八雲 1994/5/15
# modified by SHIMA 1996/12/27
#
# auto=no
#
# Printer's dpi
#
extra_size=360
#
#
# Temporary batch-file name
#
gen_tmp=a:\gen_tmp.bat
#
#
# Batch-file name for ungenerated fonts
#
gen_font=a:\gen_font.bat
#
#
#### METAFONT \mode name definitions
#
# Atari 96x96 previewer
mode_name=96:atarins
#
# BBN Bitgraph at 118dpi
mode_name=118:bitgraph
#
# Epson LQ-500, 180x180dpi
mode_name=180:lqlores
#
# Canon LBP-10
mode_name=240:canonlbp
#
# Canon CX, SX, LBP-LX
mode_name=300:CanonCX
#
# Epson Action Laser
#mode_name=300:epsonact
#
# Canon BubbleJet 10ex
mode_name=360:bjtenex
#
# Sun SPARCprinter
mode_name=400:sparcptr
#
# NeXT 400dpi, Newgen
#mode_name=400:nexthi
#
# CanonEX in LaserWriter Pro 630
mode_name=600:canonex
#
#
%1st
#
echo off
#
%2nd
#
# ^s METAFONT source file name (font name)
# ^m font magnification
# ^d font size ( dpi x magnification )
# ^D dpi
# ^e font extra_size
# ^n METAFONT mode name
# ^N METAFONT mode name for extra_size
#
REM For ^D dpi
REM
virmf &cmmf \mode=^n; mag=^m; nonstopmode; input ^s
if not exist ^s.^dgf goto err
gftopk ^s.^dgf ^s.pk
gather -abi a:\tex\pkfont\dpi^d.gth ^s.pk
del ^s.^dgf
del ^s.pk
#del ^s.log
#
#
%3rd
#
copy *.tfm a:\tex\tfm
del *.tfm
echo *** Fonts generated! ***
goto exit
:err
echo *** Failure! ***
:exit
|