1FTSTRING(1) General Commands Manual FTSTRING(1)
2
3
4
6 ftstring - string viewer
7
9 ftstring [options] [pt] font ...
10
12 ftstring displays a text string with the given font, allowing to change
13 various rendering and display options interactively.
14
15 pt The point size for the given resolution. If resolution is
16 72dpi, this directly gives the ppem value (pixels per EM).
17
18 font The font file(s) to display. For Type 1 font files, ftstring
19 also tries to attach the corresponding metrics file (with exten‐
20 sion `.afm' or `.pfm').
21
22 Besides the string, ftstring also displays two stress test patterns
23 sensitive to rendering flaws, such as incorrect gamma settings. Alter‐
24 native text-carpeting and waterfall views are also available. This
25 program is part of the FreeType demos package.
26
28 -d WxH[xD]
29 Set the window width to W px, the height to H px, and optionally
30 the depth to D bpp (default: 640x480x24).
31
32 -r r Use resolution r dpi (default: 72dpi).
33
34 -e enc Specify encoding tag (default: no encoding). Common values:
35 unic (Unicode), symb (symbol), ADOB (Adobe standard), ADBC
36 (Adobe custom), or a numeric charmap index.
37
38 -m text
39 Use text for rendering.
40
41 -k keys
42 Emulate sequence of keystrokes upon start-up. If the keystrokes
43 contain 'q', the program operates in batch mode. Function keys
44 Fx are mapped to character codes 0xFx; as an example,
45 -k $'\xF3q' is function key 'F3' followed by character 'q'.
46
47 -v Show version.
48
49
50
51FreeType 2.13.1 June 2023 FTSTRING(1)