.TH T1ASM 1 "5/21/92" .\" @(#) t1asm.1 1.1 13:06:14 5/21/92 .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 t1disasm can be used as a filter. .B t1disasm 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. .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)