Skip to content

Remove mention of "enabling fontconfig support". #13757

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions lib/matplotlib/font_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,8 +602,8 @@ class FontProperties(object):
on the font manager's default font size.

This class will also accept a fontconfig_ pattern_, if it is the only
argument provided. This support does not require fontconfig to be
installed. We are merely borrowing its pattern syntax for use here.
argument provided. This support does not depend on fontconfig; we are
merely borrowing its pattern syntax for use here.

.. _fontconfig: https://www.freedesktop.org/wiki/Software/fontconfig/
.. _pattern:
Expand Down Expand Up @@ -733,8 +733,7 @@ def get_fontconfig_pattern(self):
Get a fontconfig_ pattern_ suitable for looking up the font as
specified with fontconfig's ``fc-match`` utility.

This support does not require fontconfig to be installed or
support for it to be enabled. We are merely borrowing its
This support does not depend on fontconfig; we are merely borrowing its
pattern syntax for use here.
"""
return generate_fontconfig_pattern(self)
Expand Down Expand Up @@ -843,8 +842,7 @@ def set_fontconfig_pattern(self, pattern):
"""
Set the properties by parsing a fontconfig_ *pattern*.

This support does not require fontconfig to be installed or
support for it to be enabled. We are merely borrowing its
This support does not depend on fontconfig; we are merely borrowing its
pattern syntax for use here.
"""
for key, val in self._parse_fontconfig_pattern(pattern).items():
Expand Down