8000 Merge pull request #13757 from anntzer/fontconfigenable · matplotlib/matplotlib@3b5f672 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3b5f672

Browse files
authored
Merge pull request #13757 from anntzer/fontconfigenable
Remove mention of "enabling fontconfig support".
2 parents 4b0d902 + b6413bd commit 3b5f672

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

lib/matplotlib/font_manager.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -602,8 +602,8 @@ class FontProperties(object):
602602
on the font manager's default font size.
603603
604604
This class will also accept a fontconfig_ pattern_, if it is the only
605-
argument provided. This support does not require fontconfig to be
606-
installed. We are merely borrowing its pattern syntax for use here.
605+
argument provided. This support does not depend on fontconfig; we are
606+
merely borrowing its pattern syntax for use here.
607607
608608
.. _fontconfig: https://www.freedesktop.org/wiki/Software/fontconfig/
609609
.. _pattern:
@@ -733,8 +733,7 @@ def get_fontconfig_pattern(self):
733733
Get a fontconfig_ pattern_ suitable for looking up the font as
734734
specified with fontconfig's ``fc-match`` utility.
735735
736-
This support does not require fontconfig to be installed or
737-
support for it to be enabled. We are merely borrowing its
736+
This support does not depend on fontconfig; we are merely borrowing its
738737
pattern syntax for use here.
739738
"""
740739
return generate_fontconfig_pattern(self)
@@ -843,8 +842,7 @@ def set_fontconfig_pattern(self, pattern):
843842
"""
844843
Set the properties by parsing a fontconfig_ *pattern*.
845844
846-
This support does not require fontconfig to be installed or
847-
support for it to be enabled. We are merely borrowing its
845+
This support does not depend on fontconfig; we are merely borrowing its
848846
pattern syntax for use here.
849847
"""
850848
for key, val in self._parse_fontconfig_pattern(pattern).items():

0 commit comments

Comments
 (0)
0