ftvalid.1 2.43 KB
Newer Older
Werner Lemberg's avatar
Werner Lemberg committed
1
.TH FTVALID 1 "October 2020" "FreeType 2.10.4"
Werner Lemberg's avatar
Werner Lemberg committed
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
.
.
.SH NAME
.
ftvalid \- font layout table validator
.
.
.SH SYNOPSIS
.
.B ftvalid
.RI [ options ]
.I fontfile
.
.
.SH DESCRIPTION
.
.B ftvalid
is an OpenType layout table validator.
.
.PP
This program is part of the FreeType demos package.
.
.
.SH OPTIONS
.
.TP
.BI \-f \ index
Select font index (default: 0).
.
.TP
.BI \-t \ validator
Select validator.
Available validators are
.BR ot ,
.BR gx ,
and
.BR ckern .
.
.IP
Note that the availability of validators depends on
compile-time options of FreeType (this is, whether the modules
`otvalid' and `gxvalid' are compiled into the library).
.
.TP
.BI \-T \ tbls
Alexei Podtelezhnikov's avatar
Typos.  
Alexei Podtelezhnikov committed
47
[ot, gx] Select sfnt table name tags to be validated.
Werner Lemberg's avatar
Werner Lemberg committed
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 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
Use `:' to separate tags.
.
.IP
Supported tables in ot validator are
.BR BASE ,
.BR GDEF ,
.BR GPOS ,
.BR GSUB ,
.BR JSTF ,
and
.BR MATH .
.
.IP
Supported tables in gx validator are
.BR feat ,
.BR mort ,
.BR morx ,
.BR bsln ,
.BR just ,
.BR kern ,
.BR opbd ,
.BR trak ,
.BR prop ,
and
.BR lcar .
.
.IP
Example:
.B \-T \(dqfeat:morx\(dq
.
.TP
.BI \-T \ dialect
[ckern] Select classic kern dialect for validation.
Use `:' to separate dialect names.
If more than one dialect is specified, all dialects are accepted when
validating.
.
.IP
Supported dialects in ckern validator are
.B ms
and
.BR apple .
.
.TP
.BI \-l
List the layout-related SFNT tables available in the font file.
The selected validator (with option
.BR \-t )
affects the list.
.
.IP
ckern is applicable to `kern' table only.
Option
.B \-L
lists dialects supported in ckern validator only if `kern' table is
available in the font file.
.
.TP
.BI \-V \ level
Validation level.
Possible values are
.B 0
(default),
.B 1
(tight), and
.B 2
(paranoid).
.
.TP
.B \-v
Show version.
.
.
.SH ENVIRONMENT VARIABLES
.
.TP
.B FT2_DEBUG
You can specify
.RI ` component : level '
pairs for tracing.
.I level
must be in the range [1,7].
.
.IP
Available components for ot validator are
.BR otvmodule ,
.BR otvcommon ,
.BR otvbase ,
.BR otvgdef ,
.BR otvgpos ,
.BR otvgsub ,
and
.BR otvjstf .
.
.IP
Available components for gx validator are
.BR gxvmodule ,
.BR gxvcommon ,
.BR gxvfeat ,
.BR gxvmort ,
.BR gxvmorx ,
.BR gxvbsln ,
.BR gxvjust ,
.BR gxvkern ,
.BR gxvopbd ,
.BR gxvtrak ,
.BR gxvprop ,
and
.BR gxvlcar .
.IP
Available component for ckern validator is
.B gxvkern
only.
.
.IP
Example:
.B FT2_DEBUG=\(dqotvcommon:5 gxvkern:7\(dq
.
.IP
.B FT2_DEBUG
only works if tracing support is compiled into FreeType.
.
.\" eof