MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / get_fontconfig_pattern

Method get_fontconfig_pattern

lib/matplotlib/font_manager.py:927–935  ·  view source on GitHub ↗

Get a fontconfig_ pattern_ suitable for looking up the font as specified with fontconfig's ``fc-match`` utility. This support does not depend on fontconfig; we are merely borrowing its pattern syntax for use here.

(self)

Source from the content-addressed store, hash-verified

925 return self._file
926
927 def get_fontconfig_pattern(self):
928 """
929 Get a fontconfig_ pattern_ suitable for looking up the font as
930 specified with fontconfig's ``fc-match`` utility.
931
932 This support does not depend on fontconfig; we are merely borrowing its
933 pattern syntax for use here.
934 """
935 return generate_fontconfig_pattern(self)
936
937 def set_family(self, family):
938 """

Callers 1

__str__Method · 0.95

Calls 1

Tested by

no test coverage detected