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 89 90 91 92 93 94 95 96 97 98 99 100
|
.TH T1ASM 1 "23 June 1992"
.\" @(#) $Id: t1asm.1,v 1.3 92/06/23 11:12:54 ilh Exp $
.SH NAME
t1asm \- assemble type-1 font
.SH SYNOPSIS
.B t1asm
[
.B -b
]
[
.BI \-l " length"
]
[
.I input
[
.I output
]
]
.SH DESCRIPTION
.B t1asm
assembles Adobe type-1 font programs into either
PFA (hexadecimal) or PFB (binary) formats from a human-readable
form. If the file
.I output
is not specified output goes to the standard output.
If the file
.I input
is not specified input comes from the standard input.
In this way
.B t1asm
can be used as a filter. It can also assemble files that contain the
newer Type 2 opcodes (used in the Multiple Master fonts Jenson and
Kepler, for example).
.B t1asm
tokenizes the charstring data and performs eexec and
charstring encryption as specified in the
.I "Adobe Type 1 Font Format,"
the Adobe black book.
The input is required to have a line of the form
.RS
.nf
.ft B
/-|{string currentfile exch readstring pop}executeonly def
.ft R
.fi
.RE
which defines the command, in this case `\-|',
that is to start charstring data. It is an error not to define such a
command. Another common name for this command is `RD'.
After the start of the
.B Subrs
array in the input, all open braces `{' not in a comment begin a
charstring. Such a charstring is terminated by the next non-comment
close brace `}'. Within such a charstring, only comments, integers,
and valid charstring commands are allowed. The format within a
charstring is unimportant as long as integers and commands are
separated by at least a one whitespace (space, tab, newling)
character. Note that within charstrings, comments are discarded
because they cannot be encoded.
.SH OPTIONS
.TP 12
.B \-b
Output in PFB (binary) format.
.TP
.BI \-l " length"
Set the maximum length of sections in PFB output to
.I length.
Default value is large, 2**17 - 6, yielding section size, including
section header, of 128 Kbytes. This default value is also the
maximum allowable length.
.I length
has no effect on PFA output.
.SH EXAMPLES
.LP
.nf
.ft B
example% t1asm Utopia-Regular.raw Utopia-Regular.pfa
example% t1asm -b Utopia-Regular.raw Utopia-Regular.pfb
.ft R
.fi
.SH "SEE ALSO"
.LP
.BR t1disasm (1),
.BR t1binary (1),
.BR t1ascii (1)
.LP
.I "Adobe Type 1 Font Format"
.SH BUGS
None known.
.SH AUTHOR
Lee Hetherington (ilh@lcs.mit.edu)
.PP
Ported to Microsoft C/C++ Compiler and MS-DOS operating system by
Kai-Uwe Herbing (herbing@netmbx.netmbx.de).
.PP
Modified by CurveSoft, Inc. (info@curvesoft.com) to handle Type 2
opcodes.
|