1 .TH FREETYPE-CONFIG 1 "March 2022" "FreeType 2.12.0"
6 freetype-config \- Get information about a libfreetype installation
18 returns information needed for compiling and linking programs with the
19 FreeType library, such as linker flags and compilation parameters.
21 Alternatively, it can be used to query information about the
22 FreeType library version installed on the system, such as the
23 installation (directory path) prefix or the FreeType version number.
34 This program is part of the FreeType package.
39 There are two types of options: output/display selection options, and
40 path override options.
43 .SS Output selection options
45 Only one of the output selection options should be given at each program
50 Return the prefix value of the installed FreeType library (the default
51 prefix will be `/usr' in most cases for distribution-installed
56 Return the executable prefix value of the installed FreeType library
57 (will often be the same as the prefix value).
61 Return the FreeType version number, directly derived from file
66 Return the `libtool version' of the FreeType library.
70 Return the library name for linking with libtool.
74 Return compiler flags for linking with the installed FreeType library.
78 Return compiler flags for compiling against the installed FreeType library.
82 Make command line options display flags for static linking.
89 .SS Path override options
91 These affect any selected output option, except the libtool version
96 .BI \-\-prefix= PREFIX
103 .BI \-\-exec-prefix= PREFIX
106 is not explicitly given.
109 .BI \-\-exec-prefix= EPREFIX
117 In case the libraries FreeType links to are located in non-standard
120 is not available, the output from option
124 It is thus recommended to use the
126 interface instead, which is able to correctly resolve all dependencies.
131 (either explicitly or implicitly) might return incorrect results if
135 The same problem can occur if you set the
137 environment variable.
142 This manual page was contributed by Nis Martensen <nis.martensen@web.de>,
143 with further refinements from the FreeType team.