home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
700-799
/
ff732.lha
/
pstools
/
t1utils
/
T1ASM.DOC
< prev
next >
Wrap
Text File
|
1992-09-26
|
2KB
|
115 lines
NAME
t1asm - assemble type-1 font
SYNOPSIS
t1asm [ -b ] [ ] [ input [ output ] ]
DESCRIPTION
t1asm assembles Adobe type-1 font programs into either PFA
(hexadecimal) or PFB (binary) formats from a human-readable
form. If the file output is not specified output goes to the
standard output. If the file input is not specified input comes
from the standard input. In this way t1disasm can be used as a
filter.
t1disasm tokenizes the charstring data and performs eexec and
charstring encryption as specified in the Adobe Type 1 Font
Format, the Adobe black book.
The input is required to have a line of the form
/-|{string currentfile exch readstring pop}executeonly def
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 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 unim-
portant 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.
OPTIONS
-b Output in PFB (binary) format. Set the maximum length of
sections in PFB output to length. Default value is large, 2**17
- 6, yielding section size, including section header, of 128
Kbytes. length has no effect on PFA output.
June 24, 1992 page 1
EXAMPLES
example% t1asm Utopia-Regular.raw Utopia-Regular.pfa
example% t1asm -b Utopia-Regular.raw Utopia-Regular.pfb
SEE ALSO
Adobe Type 1 Font Format
BUGS
None known.
AUTHOR
Lee Hetherington (ilh@ lcs.mit.edu)
June 24, 1992 page 2