MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / _get_char_id

Method _get_char_id

site-packages/matplotlib/textpath.py:54–58  ·  view source on GitHub ↗

Return a unique id for the given font and character-code set.

(self, font, ccode)

Source from the content-addressed store, hash-verified

52 return LOAD_NO_HINTING
53
54 def _get_char_id(self, font, ccode):
55 """
56 Return a unique id for the given font and character-code set.
57 """
58 return urllib.parse.quote('{}-{}'.format(font.postscript_name, ccode))
59
60 def _get_char_id_ps(self, font, ccode):
61 """

Callers 2

get_glyphs_with_fontMethod · 0.95
get_glyphs_mathtextMethod · 0.95

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected