[go: up one dir, main page]

File: t1disasm.1

package info (click to toggle)
t1utils 1.2-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 148 kB
  • ctags: 173
  • sloc: ansic: 1,558; makefile: 78; sh: 10
file content (100 lines) | stat: -rw-r--r-- 2,028 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
.TH T1DISASM 1  "23 June 1992"
.\" @(#) $Id: t1disasm.1,v 1.2 92/06/23 11:15:18 ilh Exp $
.SH NAME
t1disasm \- disassemble type-1 font
.SH SYNOPSIS
.B t1disasm
[
.I input
[
.I output
]
]
.SH DESCRIPTION
.B t1disasm
dissassembles Adobe type-1 font programs in either
PFA (hexadecimal) or PFB (binary) formats into 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. It can also handle the newer Multiple Master
fonts like Jenson and Kepler which use Type 2 opcodes.

.B t1disasm
performs eexec and charstring decryption as specified in the
.I "Adobe Type 1 Font Format,"
the Adobe black book, as well as later documents that describe Type 2
opcodes.  Additionally, the charstring binary tokens are
expanded into human-readable text form.
.SH EXAMPLES
.LP
.nf
.ft B
example% t1disasm Utopia-Regular.pfb Utopia-Regular.raw
example% t1disasm Utopia-Regular.pfa Utopia-Regular.raw
.ft R
.fi

In this case, the resulting
.B Subrs
entries look like
.RS
.nf
.ft B
dup 5 {
        8 111 vstem
        -12 128 hstem
        707 -20 hstem
        return
        } |
.ft R
.fi
.RE
and the
.B CharStrings
entries like
.RS
.nf
.ft B
/exclam {
        58 242 hsbw
        6 callsubr
        5 4 callsubr
        63 707 rmoveto
        -54 0 -5 -22 4 -45 rrcurveto
        40 -431 rlineto
        29 hlineto
        42 431 rlineto
        4 45 -5 22 -55 0 rrcurveto
        closepath
        6 4 callsubr
        -719 vmoveto
        243 callsubr
        endchar
        } |-
.ft R
.fi
.RE
in Utopia-Regular.raw.
.SH "SEE ALSO"
.LP
.BR t1asm (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)
.PP
Ported to Microsoft C/C++ Compiler and MS-DOS operating system by
Kai-Uwe Herbing (herbing@netmbx.netmbx.de).
.PP
Modified by CurveSoft, Inc. (info@curvesoft.com) to handle Type 2
opcodes.