@@ -602,8 +602,8 @@ class FontProperties(object):
602
602
on the font manager's default font size.
603
603
604
604
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.
607
607
608
608
.. _fontconfig: https://www.freedesktop.org/wiki/Software/fontconfig/
609
609
.. _pattern:
@@ -733,8 +733,7 @@ def get_fontconfig_pattern(self):
733
733
Get a fontconfig_ pattern_ suitable for looking up the font as
734
734
specified with fontconfig's ``fc-match`` utility.
735
735
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
738
737
pattern syntax for use here.
739
738
"""
740
739
return generate_fontconfig_pattern (self )
@@ -843,8 +842,7 @@ def set_fontconfig_pattern(self, pattern):
843
842
"""
844
843
Set the properties by parsing a fontconfig_ *pattern*.
845
844
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
848
846
pattern syntax for use here.
849
847
"""
850
848
for key , val in self ._parse_fontconfig_pattern (pattern ).items ():
0 commit comments