tmac.eps: be less strict about spacing in BoundingBox header
[neatroff_make.git] / tmac / tmac.fp
blob0d0085c0560e4abeabc0bfeb258e5f2337fdf415
1 .\" tmac.fp - Generate font descriptions on the fly
2 .\"
3 .\" This package contains macros that generate neatroff font
4 .\" descriptions while neatroff is processing input files.
5 .\" \*[fp.src] should be a directory specified in GS_FONTPATH
6 .\" environment variable or via -sFONTPATH="..." option of
7 .\" ghostscript (viz. ps2pdf). Temporary neatroff file
8 .\" descriptions are created in \*[fp.dst] directory.
9 .\"
10 .if ''\*[fp.src]' .ds fp.src "/path/to/GS_FONTPATH
11 .if ''\*[fp.dst]' .ds fp.dst "/tmp/
12 .if ''\*[fp.mkfn]' .ds fp.mkfn "neatmkfn
13 .\" .fp.ttf font_position troff_font_name font_name
14 .de fp.ttf
15 . sy \\*[fp.mkfn] -b -l -o <\\*[fp.src]/\\$3.ttf >\\*[fp.dst]/\\$3
16 . fp \\$1 \\$2 \\*[fp.dst]/\\$3
18 .\" .fp.otf font_position troff_font_name font_name
19 .de fp.otf
20 . sy fontforge -lang=ff -c 'Open("\\*[fp.src]/\\$3.otf"); Generate("\\*[fp.src]/\\$3.ttf");' >/dev/null 2>&1
21 . fp.ttf \\$1 \\$2 \\$3
23 .\" .fp.afm font_position troff_font_name font_name
24 .de fp.afm
25 . sy \\*[fp.mkfn] -b -a <\\*[fp.src]/\\$3.afm >\\*[fp.dst]/\\$3
26 . fp \\$1 \\$2 \\*[fp.dst]/\\$3