summaryrefslogtreecommitdiff
path: root/Build/source/utils/lcdf-typetools/otfinfo/otfinfo.1
blob: e0bbcd108869aee9ae3fd4e43e5f1ea64c782d6b (plain)
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
'\"t
.ds V 2.34
.de M
.BR "\\$1" "(\\$2)\\$3"
..
.de Sp
.if n .sp
.if t .sp 0.4
..
.TH OTFINFO 1 "LCDF Typetools" "Version \*V"
.SH NAME
otfinfo \- report information about OpenType fonts
.SH SYNOPSIS
.B otfinfo
\%[\fB-sfzpg\fR]
\%[\fIFILE...\fR]
'
.SH DESCRIPTION
.BR Otfinfo
reports information about the named OpenType font
.IR FILE s
(or standard input, if no 
.IR FILE s
are given). Results are printed to standard output. Each line is prefaced
with the relevant
.I FILE
if more than one
.I FILE
was supplied.
'
.SH OPTIONS
With long options, you need type only as many characters as will make the
option unique.
.SS Query options
.PD 0
.PD 0
.TP 5
.BR \-s ", " \-\-scripts
Print supported scripts and language systems. The scripts are printed one
per line, with human-readable descriptions; for example:
.nf
  cyrl            Cyrillic
  grek            Greek
  latn            Latin
  latn.TUR        Latin/Turkish
.fi
'
.Sp
.TP 5
.BR \-f ", " \-\-features
Print GSUB and GPOS features supported by the selected script (see the
.B \-\-script
option below). The scripts are printed one per line, with human-readable
descriptions; for example:
.nf
  aalt    Access All Alternates
  c2sc    Small Capitals From Capitals
  case    Case-Sensitive Forms
  cpsp    Capital Spacing
  \&...
  zero    Slashed Zero
.fi
'
.Sp
.TP 5
.BR \-z ", " \-\-optical\-size
Print optical size information. For example:
.nf
  design size 11 pt, size range (8.4 pt, 13 pt], subfamily ID 11, subfamily name Semibold Italic
.fi
'
.Sp
.TP 5
.BR \-p ", " \-\-postscript\-name
Print each font's PostScript name. For example:
.nf
  MinionPro-SemiboldItCapt
.fi
'
.Sp
.TP 5
.BR \-g ", " \-\-glyphs
Print the name of every glyph in each font, one per line. For example:
.nf
  \&.notdef
  space
  exclam
  \&...
  ncommaaccent.end
  lje.alt
.fi
Works for PostScript-flavored OpenType fonts only.
'
.PD
'
'
.SS Miscellaneous options
'
.PD 0
.TP 5
.BI \-\-script= "script\fR[.\fIlang\fR]"
Select the script system
.I script
and language system
.IR lang
used to look up features by
.BR \-\-features .
Examples include "latn" (Latin script), "grek" (Greek script), and "yi.YIC"
(Yi script with classic characters). If
.I lang
is not specified, otfinfo will use the default language system for that
script. Defaults to "latn".
'
.Sp
.TP 5
.BR \-V ", " \-\-verbose
Write progress messages to standard error.
'
.Sp
.TP 5
.BR \-q ", " \-\-quiet
Do not generate any error messages.
'
.Sp
.TP 5
.BR \-h ", " \-\-help
Print usage information and exit.
'
.Sp
.TP 5
.BR \-\-version
Print the version number and some short non-warranty information and exit.
.PD
'
.SH "SEE ALSO"
.LP
.M otftotfm 1
.LP
.IR "OpenType Specification" ,
Version 1.4
'
.SH AUTHOR
Eddie Kohler (kohler@icir.org)