CPFONT Font Editing Script
utzoo!decvax!harpo!floyd!cmcl2!philabs!sdcsvax!sdccsu3!sdcatta!phonlab!donn
utzoo!decvax!harpo!floyd!cmcl2!philabs!sdcsvax!sdccsu3!sdcatta!phonlab!donn
Wed Oct 20 00:20:40 AEST 1982
#! /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.
More information about the Comp.sources.unix
mailing list