@@ -600,12 +600,13 @@ class FontProperties(object):
600600 approach allows all text sizes to be made larger or smaller based
601601 on the font manager's default font size.
602602
603- This class will also accept a `fontconfig
604- <https://www.freedesktop.org/wiki/Software/fontconfig/>`_ pattern, if it is
605- the only argument provided. See the documentation on `fontconfig patterns
606- <https://www.freedesktop.org/software/fontconfig/fontconfig-user.html>`_.
607- This support does not require fontconfig to be installed. We are merely
608- borrowing its pattern syntax for use here.
603+ This class will also accept a fontconfig_ pattern_, if it is the only
604+ argument provided. This support does not require fontconfig to be
605+ installed. We are merely borrowing its pattern syntax for use here.
606+
607+ .. _fontconfig: https://www.freedesktop.org/wiki/Software/fontconfig/
608+ .. _pattern:
609+ https://www.freedesktop.org/software/fontconfig/fontconfig-user.html
609610
610611 Note that Matplotlib's internal font manager and fontconfig use a
611612 different algorithm to lookup fonts, so the results of the same pattern
@@ -728,12 +729,9 @@ def get_file(self):
728729
729730 def get_fontconfig_pattern (self ):
730731 """
731- Get a fontconfig pattern suitable for looking up the font as
732+ Get a fontconfig_ pattern_ suitable for looking up the font as
732733 specified with fontconfig's ``fc-match`` utility.
733734
734- See the documentation on `fontconfig patterns
735- <https://www.freedesktop.org/software/fontconfig/fontconfig-user.html>`_.
736-
737735 This support does not require fontconfig to be installed or
738736 support for it to be enabled. We are merely borrowing its
739737 pattern syntax for use here.
@@ -842,10 +840,7 @@ def set_file(self, file):
842840
843841 def set_fontconfig_pattern (self , pattern ):
844842 """
845- Set the properties by parsing a fontconfig *pattern*.
846-
847- See the documentation on `fontconfig patterns
848- <https://www.freedesktop.org/software/fontconfig/fontconfig-user.html>`_.
843+ Set the properties by parsing a fontconfig_ *pattern*.
849844
850845 This support does not require fontconfig to be installed or
851846 support for it to be enabled. We are merely borrowing its
0 commit comments