1T1ASM(1) General Commands Manual T1ASM(1)
2
3
4
6 t1asm - assemble PostScript Type 1 font
7
9 t1asm [-a|-b] [-l length] [input [output]]
10
12 t1asm assembles Adobe Type 1 font programs into either PFA (hexadeci‐
13 mal) or PFB (binary) formats from a human-readable form. If the file
14 output is not specified output goes to the standard output. If the file
15 input is not specified input comes from the standard input.
16
17 t1asm tokenizes the charstring data and performs eexec and charstring
18 encryption as specified in the ``black book,'' Adobe Type 1 Font For‐
19 mat.
20
21 The input must have a line of the form
22 /-|{string currentfile exch readstring pop}executeonly def
23 which defines the command, in this case `-|', that is to start
24 charstring data. It is an error not to define such a command. Another
25 common name for this command is `RD'.
26
27 After the start of the Subrs array in the input, all open braces `{'
28 not in a comment begin a charstring. Such a charstring is terminated by
29 the next non-comment close brace `}'. Within such a charstring, only
30 comments, integers, and valid charstring commands are allowed. Valid
31 charstring command names can be found in Adobe Type 1 Font Format and
32 other documents describing the newer Type 2 opcodes. The format within
33 a charstring is unimportant as long as integers and commands are sepa‐
34 rated by at least a one whitespace (space, tab, newline) character.
35 Note that within charstrings, comments are discarded because they can‐
36 not be encoded.
37
39 --pfa, -a
40 Output in PFA (ASCII) format.
41
42 --pfb, -b
43 Output in PFB (binary) format. This is the default.
44
45 --block-length=num, -l num
46 PFB only: Set the maximum output block length to num. The default
47 length is as large as memory allows.
48
49 --line-length=num, -l num
50 PFA only: Set the maximum length of encrypted lines in the output
51 to num. (These are the lines consisting wholly of hexadecimal
52 digits.) The default is 64.
53
55 % t1asm Utopia-Regular.raw > Utopia-Regular.pfb
56 % t1asm -a Utopia-Regular.raw > Utopia-Regular.pfa
57
59 t1disasm(1), t1ascii(1), t1binary(1), t1unmac(1), t1mac(1)
60
61 Adobe Type 1 Font Format is available free from Adobe as a PDF file.
62 http://partners.adobe.com/asn/developer/PDFS/TN/T1_SPEC.PDF
63
64 The Type 2 Charstring Format, also available from Adobe as a PDF file,
65 describes the newer Type 2 operators, which are also used in some mul‐
66 tiple-master Type 1 fonts like Adobe Jenson and Kepler. http://part‐
67 ners.adobe.com/asn/developer/PDFS/TN/5177.Type2.pdf
68
70 Lee Hetherington (ilh@lcs.mit.edu)
71 Eddie Kohler (ekohler@gmail.com)
72
73
74
75Version 1.41 T1ASM(1)