@@ -109,7 +109,6 @@ Dependencies
109109Matplotlib requires the following dependencies:
110110
111111* `Python <https://www.python.org/downloads/ >`_ (>= 3.6)
112- * `FreeType <https://www.freetype.org/ >`_ (>= 2.3)
113112* `NumPy <http://www.numpy.org >`_ (>= 1.11)
114113* `setuptools <https://setuptools.readthedocs.io/en/latest/ >`_
115114* `cycler <http://matplotlib.org/cycler/ >`_ (>= 0.10.0)
@@ -154,24 +153,27 @@ etc., you can install the following:
154153* `LaTeX <https://miktex.org/ >`_ and `GhostScript (>=9.0)
155154<https://ghostscript.com/download/> `_ : for rendering text with LaTeX.
156155
157- FreeType
158- --------
156+ FreeType and Qhull
157+ ------------------
159158
160- Matplotlib depends on FreeType, a font rendering library. By default,
161- Matplotlib downloads and builds its own copy of FreeType.
159+ Matplotlib depends on `FreeType <https://www.freetype.org/ >`_ (>= 2.3), a
160+ font rendering library, and on `Qhull <http://www.qhull.org/ >`_ (>= 2015.2),
161+ a library for computing triangulations. By default, Matplotlib downloads and
162+ builds its own copy of FreeType, and uses its own copy of Qhull.
162163
163- To force Matplotlib to use a copy of FreeType already installed in your system,
164- create a:file: `setup.cfg ` file with the following contents:
164+ To force Matplotlib to use a copy of FreeTypeor Qhull already installed in
165+ your system, create a:file: `setup.cfg ` file with the following contents:
165166
166167..code-block ::cfg
167168
168169 [libs]
169170system_freetype = true
171+ system_qhull = true
170172
171173 before running ``python -m pip install . ``.
172174
173- In this case, you need to install the FreeType library and headers. This can
174- be achieved using a package manager:
175+ In this case, you need to install the FreeTypeand Qhull library and headers.
176+ This can be achieved using a package manager, e.g. for FreeType :
175177
176178..code-block ::sh
177179
@@ -181,6 +183,8 @@ be achieved using a package manager:
181183 brew install freetype# macOS with Homebrew
182184 conda install freetype# conda, any OS
183185
186+ (adapt accordingly for Qhull).
187+
184188On Linux and macOS, it is also recommended to installpkg-config _, a helper
185189tool for locating FreeType:
186190
@@ -197,7 +201,7 @@ tool for locating FreeType:
197201 .. _pkg-config :https://www.freedesktop.org/wiki/Software/pkg-config/
198202
199203If not using pkg-config (in particular on Windows), you may need to set the
200- include path (to theFreeType headers) and link path (to theFreeType library )
204+ include path (to thelibrary headers) and link path (to thelibraries )
201205explicitly, if they are not in standard locations. This can be done using
202206standard environment variables -- on Linux and OSX:
203207
@@ -215,10 +219,9 @@ and on Windows:
215219
216220 ..note ::
217221
218- The following libraries are shipped with Matplotlib :
222+ Matplotlib always uses its own copies of the following libraries :
219223
220224 - ``Agg ``: the Anti-Grain Geometry C++ rendering engine;
221- - ``qhull ``: to compute Delaunay triangulation;
222225 - ``ttconv ``: a TrueType font utility.
223226
224227Building on Windows