Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b6413bd

Browse filesBrowse files
committed
Remove mention of "enabling fontconfig support".
(There is no such "enabling" anymore.)
1 parent 20387f7 commit b6413bd
Copy full SHA for b6413bd

File tree

Expand file treeCollapse file tree

1 file changed

+4
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-6
lines changed

‎lib/matplotlib/font_manager.py

Copy file name to clipboardExpand all lines: lib/matplotlib/font_manager.py
+4-6Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.