@@ -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)
@@ -153,24 +152,27 @@ etc., you can install the following:
153152* `LaTeX <https://miktex.org/ >`_ and `GhostScript (>=9.0)
154153<https://ghostscript.com/download/> `_ : for rendering text with LaTeX.
155154
156- FreeType
157- --------
155+ FreeType and Qhull
156+ ------------------
158157
159- Matplotlib depends on FreeType, a font rendering library. By default,
160- Matplotlib downloads and builds its own copy of FreeType.
158+ Matplotlib depends on `FreeType <https://www.freetype.org/ >`_ (>= 2.3), a
159+ font rendering library, and on `Qhull <http://www.qhull.org/ >`_ (>= 2015.2),
160+ a library for computing triangulations. By default, Matplotlib downloads and
161+ builds its own copy of FreeType, and uses its own copy of Qhull.
161162
162- To force Matplotlib to use a copy of FreeType already installed in your system,
163- create a:file: `setup.cfg ` file with the following contents:
163+ To force Matplotlib to use a copy of FreeTypeor Qhull already installed in
164+ your system, create a:file: `setup.cfg ` file with the following contents:
164165
165166..code-block ::cfg
166167
167168 [libs]
168169system_freetype = true
170+ system_qhull = true
169171
170172 before running ``python -m pip install . ``.
171173
172- In this case, you need to install the FreeType library and headers. This can
173- be achieved using a package manager:
174+ In this case, you need to install the FreeTypeand Qhull library and headers.
175+ This can be achieved using a package manager, e.g. for FreeType :
174176
175177..code-block ::sh
176178
@@ -180,6 +182,8 @@ be achieved using a package manager:
180182 brew install freetype# macOS with Homebrew
181183 conda install freetype# conda, any OS
182184
185+ (adapt accordingly for Qhull).
186+
183187On Linux and macOS, it is also recommended to installpkg-config _, a helper
184188tool for locating FreeType:
185189
@@ -196,7 +200,7 @@ tool for locating FreeType:
196200 .. _pkg-config :https://www.freedesktop.org/wiki/Software/pkg-config/
197201
198202If not using pkg-config (in particular on Windows), you may need to set the
199- include path (to theFreeType headers) and link path (to theFreeType library )
203+ include path (to thelibrary headers) and link path (to thelibraries )
200204explicitly, if they are not in standard locations. This can be done using
201205standard environment variables -- on Linux and OSX:
202206
@@ -214,10 +218,9 @@ and on Windows:
214218
215219 ..note ::
216220
217- The following libraries are shipped with Matplotlib :
221+ Matplotlib always uses its own copies of the following libraries :
218222
219223 - ``Agg ``: the Anti-Grain Geometry C++ rendering engine;
220- - ``qhull ``: to compute Delaunay triangulation;
221224 - ``ttconv ``: a TrueType font utility.
222225
223226Building on Windows