donn (10/20/82)
#! /bin/csh # # cpfont # # Expand a font with /usr/lib/vfontinfo. # 10/19/82 Donn Seeley UCSD Linguistics Dept. # if ( $#argv >= 1 ) then set source = $argv[1] shift argv else echo -n "Source font? " set source = "$<" endif if ( $#argv >= 1 ) then set target = $argv[1] shift argv else echo -n "Target font? " set target = "$<" endif /usr/lib/vfontinfo -z0 -v /usr/lib/vfont/$source > $target.v echo Copied and expanded $target.v ============================================================================== .TH CPFONT 1 .SH NAME cpfont \- copy and expand vtroff fontfile .SH SYNOPSIS .B cpfont [ sourcefont [ targetfont ] ] .SH DESCRIPTION .I Cpfont takes a font named `sourcefont' and expands it into human-readable text with .I vfontinfo(1), putting the result in a file `targetfont.v'. `Sourcefont' is assumed to live in the directory `/usr/lib/vfont'. The `targetfont.v' file may then be edited with any convenient text editor and the new font `targetfont' created and installed with .I makefont. .I Cpfont will prompt for arguments if it isn't given any. See the manual description for .I makefont(1) for details on this system. .SH BUGS This is a C-shell script.