Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs
Commits:
-
fbff2ec4
by Alexei Podtelezhnikov at 2021-06-21T12:44:13-04:00
1 changed file:
Changes:
... | ... | @@ -9,19 +9,72 @@ ftlint \- simple font tester |
9 | 9 |
.SH SYNOPSIS
|
10 | 10 |
.
|
11 | 11 |
.B ftlint
|
12 |
+.RI [ options ]
|
|
12 | 13 |
.I ppem
|
13 |
-.IR fontname [ .ttf | .ttc "] .\|.\|."
|
|
14 |
+.IR font .\|.\|.
|
|
14 | 15 |
.
|
15 | 16 |
.
|
16 | 17 |
.SH DESCRIPTION
|
17 | 18 |
.
|
18 | 19 |
.B ftlint
|
19 |
-opens the given font(s), loads and renders all glyphs at the given ppem
|
|
20 |
-value, and reports failing glyphs if there are less than ten fails, or the
|
|
21 |
-number of fails only if there are more fails.
|
|
20 |
+opens the given font(s), loads and renders glyphs at the given ppem value.
|
|
21 |
+For successfully rendered glyphs, it calculates the bitmap MD5 checksum
|
|
22 |
+for regression testing as well as horizonal (X) and vertical (Y) acutances
|
|
23 |
+for quality assessment. The acutance is equal to 2.0 for monochrome bitmap
|
|
24 |
+fonts and approaches this value for hinted anti-aliased fonts.
|
|
25 |
+.
|
|
26 |
+.TP
|
|
27 |
+.B ppem
|
|
28 |
+Size in pixels per EM.
|
|
29 |
+.
|
|
30 |
+.TP
|
|
31 |
+.B font
|
|
32 |
+The font file(s) to test.
|
|
22 | 33 |
.
|
23 | 34 |
.PP
|
24 |
-This program does not have any options.
|
|
25 |
-It is part of the FreeType demos package.
|
|
35 |
+This program is part of the FreeType demos package.
|
|
36 |
+.
|
|
37 |
+.
|
|
38 |
+.SH OPTIONS
|
|
39 |
+.
|
|
40 |
+.TP
|
|
41 |
+.BI \-f \ L
|
|
42 |
+Use
|
|
43 |
+.B hexadecimal
|
|
44 |
+(not decimal) number
|
|
45 |
+.I L
|
|
46 |
+defined by
|
|
47 |
+.B \%FT_\:LOAD_\:XXX
|
|
48 |
+flags (default is 0).
|
|
49 |
+.
|
|
50 |
+.TP
|
|
51 |
+.BI \-r \ N
|
|
52 |
+Set render mode to
|
|
53 |
+.IR N :
|
|
54 |
+.
|
|
55 |
+.RS
|
|
56 |
+.TS
|
|
57 |
+tab (@);
|
|
58 |
+rB l.
|
|
59 |
+0@normal
|
|
60 |
+1@light
|
|
61 |
+2@mono
|
|
62 |
+3@horizontal LCD
|
|
63 |
+4@vertical LCD
|
|
64 |
+.TE
|
|
65 |
+.RE
|
|
66 |
+.
|
|
67 |
+.IP
|
|
68 |
+which corresponds to the values of the
|
|
69 |
+.B \%FT_\:RENDER_\:MODE_\:XXX
|
|
70 |
+enumeration (default is 0).
|
|
71 |
+.
|
|
72 |
+.TP
|
|
73 |
+.BI \-i \ I-J
|
|
74 |
+Range of glyph indices to use (default: all).
|
|
75 |
+.
|
|
76 |
+.TP
|
|
77 |
+.B \-q
|
|
78 |
+Quiet mode without the rendering analysis.
|
|
26 | 79 |
.
|
27 | 80 |
.\" eof
|