Welcome to ftp.nluug.nl Current directory: /pub/ibiblio/distributions/CTAN/graphics/fig2mf/ |
|
Contents of README:Here is fig2MF, a tool to convert fig 2.1 input to METAFONT. The generated METAFONT code uses the mfpic macros. Fig2MF should compile with any C compiler known to man. Under Unix, just say: make fig2MF Usage is straightforward: fig2mf file.fig >foo.mf mf '\mode:=localfont; input foo.mf' tex '\font\foo=foo \foo \char33 \bye' In order to use the font you've just created, you must place the mfpic macros where METAFONT will find them, and adjust your TeX environment to recognize the .tfm and .gf files. You may also convert the .gf file to .pk format. Fig2MF has a few options: Option Default Description ------------------------------------------------------------------------ -mag 1000 Font magstep -code 32 Initial METAFONT font code value -pen 0.5 Size of the METAFONT pen (points) -xscale 0.125 x coordinate scaling factor -yscale 0.125 y coordinate scaling factor -xneg 0.0 Minimum x coordinate value of the figure (inches) -xpos 8.0 Maximum x coordinate value of the figure (inches) -yneg 0.0 Minimum y coordinate value of the figure (inches) -ypos 8.0 Maximum y coordinate value of the figure (inches) -top 8.0 Top of the whole coordinate system (inches) ----------------------------------------------------------------------- The options are specified in the form of -opt=value. For example: fig2MF -xscale=0.25 -xpos=4.0 foo.fig -------------------------------------------------------------------------- Enclosed is: fig2MF.c source code fig2MFman.tex manual graphbase.mf mfpic macros tf shell script to test new fonts Samples fig files: alltypes.fig balls.fig bean.fig book.fig chase.fig face.fig house.fig many.fig mitsu.fig parc-place.fig plane.fig powells.fig qd.fig shade.fig thick.fig type.fig -------------------------------------------------------------------------- Thanks go to Thomas Leathrum for creating the mfpic METAFONT macros. Geoffery Tobin contributed ideas, fruitful discussion and the enhanced mfpic macros. I'd dearly love to receive any bug fixes and enhancements. --- Anthony Starks ajs@merck.com |
Name Last modified Size
Parent Directory - README 19-Mar-1993 01:00 2.1K alltypes.fig 19-Mar-1993 01:00 3.3K balls.fig 19-Mar-1993 01:00 3.4K bean.fig 19-Mar-1993 01:00 1.3K book.fig 19-Mar-1993 01:00 1.3K chase.fig 19-Mar-1993 01:00 362 face.fig 19-Mar-1993 01:00 2.4K fig2MF.c 19-Mar-1993 01:00 9.7K fig2MFman.tex 19-Mar-1993 01:00 4.0K graphbase.mf 19-Mar-1993 01:00 24K house.fig 19-Mar-1993 01:00 9.2K many.fig 19-Mar-1993 01:00 1.3K mitsu.fig 19-Mar-1993 01:00 253 parc-place.fig 19-Mar-1993 01:00 374 plane.fig 19-Mar-1993 01:00 254 powells.fig 19-Mar-1993 01:00 1.9K qd.fig 19-Mar-1993 01:00 478 shade.fig 19-Mar-1993 01:00 1.2K tf 19-Mar-1993 01:00 114 thick.fig 19-Mar-1993 01:00 734 type.fig 19-Mar-1993 01:00 7.1K
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!