Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

t1asm(1) [centos man page]

T1ASM(1)						      General Commands Manual							  T1ASM(1)

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) 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. t1asm tokenizes the charstring data and performs eexec and charstring encryption as specified in the ``black book,'' Adobe Type 1 Font For- mat. 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 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. Valid charstring command names can be found in Adobe Type 1 Font Format and other documents describing 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 dig- its.) The default is 64. EXAMPLES
% t1asm Utopia-Regular.raw > Utopia-Regular.pfb % t1asm -a Utopia-Regular.raw > Utopia-Regular.pfa SEE ALSO
t1disasm(1), t1ascii(1), t1binary(1), t1unmac(1), t1mac(1) Adobe Type 1 Font Format is available free from Adobe as a PDF file. 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. AUTHORS
Lee Hetherington ( Eddie Kohler ( Version 1.37 T1ASM(1)

Check Out this Related Man Page

T1REENCODE(1)						      General Commands Manual						     T1REENCODE(1)

t1reencode - reencode a PostScript Type 1 font SYNOPSIS
t1reencode -e ENCODING [OPTIONS...] font [outputfile] DESCRIPTION
T1reencode changes a PostScript Type 1 font's embedded encoding. The reencoded font is written to the standard output (but see the --out- put option). If no input font file is supplied, t1reencode reads a PFA or PFB font from the standard input. OPTIONS
--encoding=file, -e file Read the encoding from file, which must contain an encoding in dvips(1) format. Alternatively, file can be one of the following spe- cial names, in which case the corresponding standard encoding is used. Name Source StandardEncoding Adobe ISOLatin1Encoding Adobe/ISO (synonym: ISO_8859_1_Encoding) ExpertEncoding Adobe ExpertSubsetEncoding Adobe SymbolEncoding Adobe ISOLatin2Encoding ISO (synonym: ISO_8859_2_Encoding) ISOLatin3Encoding ISO (synonym: ISO_8859_3_Encoding) ISOLatin4Encoding ISO (synonym: ISO_8859_4_Encoding) ISOCyrillicEncoding ISO (synonym: ISO_8859_5_Encoding) ISOGreekEncoding ISO (synonym: ISO_8859_7_Encoding) ISOLatin5Encoding ISO (synonym: ISO_8859_9_Encoding) ISOLatin6Encoding ISO (synonym: ISO_8859_10_Encoding) ISOThaiEncoding ISO (synonym: ISO_8859_11_Encoding) ISOLatin7Encoding ISO (synonym: ISO_8859_13_Encoding) ISOLatin8Encoding ISO (synonym: ISO_8859_14_Encoding) ISOLatin9Encoding ISO (synonym: ISO_8859_15_Encoding) KOI8REncoding - --encoding-text=text, -E text Use the encoding in the text argument, which must be formatted as a dvips(1) encoding. One of --encoding and --encoding-text must be supplied. --name=name, -n name Set the output font's PostScript name to name. The default is the input font name followed by the encoding's name. --full-name=name, -N name Set the output font's FullName to name. The default is the input FullName followed by the encoding's name. --output=file, -o file Send output to file instead of standard output. --pfb, -b Output a PFB font. This is the default. --pfa, -a Output a PFA font. -h, --help Print usage information and exit. --version Print the version number and some short non-warranty information and exit. RETURN VALUES
T1reencode exits with value 0 if a reencoded font was successfully generated, and 1 otherwise. NOTES
T1reencode should be used only in special situations. It's generally much better to use PostScript commands to reencode a font; for instance, executing the PostScript commands to generate two differently-encoded versions of a single font will take up much less memory than loading two t1reencoded fonts. EXAMPLES
This command reencodes Frutiger Roman in the ISO Latin 1 encoding. The new font will have the PostScript name Frutiger-RomanISO- Latin1Encoding. t1reencode -e ISOLatin1Encoding FrutiRom.pfb -o FrutiRomISOL1.pfb This series of commands, which use cfftot1(1) and otftotfm(1) as well as t1reencode itself, generate a version of Warnock Pro Regular with old-style figures in the slots for numbers (because of otftotfm's -fonum option). The new font will be called WarnockPro-RegularOsF. otftotfm -fonum WarnockPro-Regular.otf --output-encoding /tmp/osf.enc cfftot1 WarnockPro-Regular.otf | t1reencode -e /tmp/osf.enc -n WarnockPro-RegularOsF -N "Warnock Pro Regular OsF" -o WarnoProRegOsF.pfb SEE ALSO
Adobe Type 1 Font Format, dvips(1), cfftot1(1), otftotfm(1) AUTHOR
Eddie Kohler ( Version 2.92 LCDF Typetools T1REENCODE(1)
Man Page

Featured Tech Videos