blob: e5d72510c81db70c50e641b85515af03045c2061 [file] [log] [blame]
Werner Lemberg3e5a3742014-01-06 07:53:10 +01001.TH FREETYPE-CONFIG 1 "December 2013" "FreeType 2.5.2"
2.
3.
4.SH NAME
5.
6freetype-config \- Get information about a libfreetype installation
7.
8.
9.SH SYNOPSIS
10.
11.B freetype-config
12.RI [ options ]
13.
14.
15.SH DESCRIPTION
16.
17.B freetype-config
18returns information needed for compiling and linking programs with the
19FreeType library, such as linker flags and compilation parameters.
20.
21Alternatively, it can be used to query information about the
22FreeType library version installed on the system, such as the
23installation (directory path) prefix or the FreeType version number.
24.
25.PP
26This program is part of the FreeType package.
27.
28.
29.SH OPTIONS
30.
31There are two types of options: output/display selection options, and
32path override options.
33.
34.
35.SS Output selection options
36.
37Only one of the output selection options should be given at each program
38invocation.
39.
40.TP
41.B \-\-prefix
42Return the prefix value of the installed FreeType library (the default
43prefix will be `/usr' in most cases for distribution-installed
44packages).
45.
46.TP
47.B \-\-exec-prefix
48Return the executable prefix value of the installed FreeType library
49(will often be the same as the prefix value).
50.
51.TP
52.B \-\-ftversion
53Return the FreeType version number.
54.
55.TP
56.B \-\-version
57Return the `libtool version' of the FreeType library.
58.
59.TP
60.B \-\-libtool
61Return the library name for linking with libtool.
62.
63.TP
64.B \-\-libs
65Return compiler flags for linking with the installed FreeType library.
66.
67.TP
68.B \-\-cflags
69Return compiler flags for compiling against the installed FreeType library.
70.
71.
72.SS Path override options
73.
74These affect any selected output option, except the libtool version
75returned by `--version'.
76.
77.TP
78.BI \-\-prefix= PREFIX
79Override `--prefix' value with
80.IR PREFIX .
81.
82.TP
83.BI \-\-exec-prefix= EPREFIX
84Override `--exec-prefix' value with
85.IR EPREFIX .
86.
87.
Werner Lemberg476a7662014-03-01 16:26:05 +010088.SH BUGS
89In case the libraries FreeType links to are located in non-standard
90directories, the output from option
91.B \-\-libs
92might be incomplete.
93It is thus recommended to use the
94.BR pkg-config (1)
95interface instead, which is able to correctly resolve all dependencies.
96.
97.
98.SH AUTHOR
99.
100This manual page was contributed by Nis Martensen <nis.martensen@web.de>,
101with further refinements from the FreeType team.
102.
103.
Werner Lemberg3e5a3742014-01-06 07:53:10 +0100104.\" eof