# t1asm(1) - man - phpMan

[T1ASM(1)](https://www.chedong.com/phpMan.php/man/T1ASM/1/markdown)                               General Commands Manual                              [T1ASM(1)](https://www.chedong.com/phpMan.php/man/T1ASM/1/markdown)



## NAME
       t1asm - assemble PostScript Type 1 font

## SYNOPSIS
       **t1asm** [**-a**|**-b**] [**-l** _length_] [_input_ [_output_]]

## DESCRIPTION
       **t1asm** assembles Adobe Type 1 font programs into either PFA (hexadecimal) or PFB (binary) for‐
       mats from a human-readable form. If the file _output_ is not specified output goes to the stan‐
       dard output. If the file _input_ is not specified input comes from the standard input.

       **t1asm** tokenizes the charstring data and performs eexec and charstring encryption as specified
       in the ``black book,'' _Adobe_ _Type_ _1_ _Font_ _Format._

       The input must 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  er‐
       ror 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. Valid
       charstring command names can be found in _Adobe_ _Type_ _1_ _Font_ _Format_  and  other  documents  de‐
       scribing  the  newer Type 2 opcodes. The format within a charstring is unimportant as long as
       integers and commands are separated by at least a one whitespace (space, tab, newline)  char‐
       acter. Note that within charstrings, comments are discarded because they cannot be encoded.

## OPTIONS
       **--pfa**, **-a**
            Output in PFA (ASCII) format.

       **--pfb**, **-b**
            Output in PFB (binary) format. This is the default.

       **--block-length=**_num_, **-l** _num_
            PFB only: Set the maximum output block length to _num._  The default length is as large as
            memory allows.

       **--line-length=**_num_, **-l** _num_
            PFA only: Set the maximum length of encrypted lines in the output to  _num._   (These  are
            the lines consisting wholly of hexadecimal digits.) The default is 64.

## EXAMPLES
       % t1asm Utopia-Regular.raw > Utopia-Regular.pfb
       % t1asm -a Utopia-Regular.raw > Utopia-Regular.pfa

## SEE ALSO
       [**t1disasm**(1)](https://www.chedong.com/phpMan.php/man/t1disasm/1/markdown), [**t1ascii**(1)](https://www.chedong.com/phpMan.php/man/t1ascii/1/markdown), [**t1binary**(1)](https://www.chedong.com/phpMan.php/man/t1binary/1/markdown), [**t1unmac**(1)](https://www.chedong.com/phpMan.php/man/t1unmac/1/markdown), [**t1mac**(1)](https://www.chedong.com/phpMan.php/man/t1mac/1/markdown)

       _Adobe_  _Type_  _1_  _Font_  _Format_  is  available  free  from  Adobe  as  a PDF file.  <http://part>‐
       ners.adobe.com/asn/developer/PDFS/TN/T1_SPEC.PDF

       _The_ _Type_ _2_ _Charstring_ _Format,_ also available from Adobe as a PDF file,  describes  the  newer
       Type  2 operators, which are also used in some multiple-master Type 1 fonts like Adobe Jenson
       and Kepler.  <http://partners.adobe.com/asn/developer/PDFS/TN/5177.Type2.pdf>

## AUTHORS
       Lee Hetherington (<ilh@lcs.mit.edu>)
       Eddie Kohler (<ekohler@gmail.com>)



Version 1.41                                                                                [T1ASM(1)](https://www.chedong.com/phpMan.php/man/T1ASM/1/markdown)
