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

Method get_width_from_char_name

lib/matplotlib/_afm.py:431–433  ·  view source on GitHub ↗

Get the width of the character from a type1 character name.

(self, name: str)

Source from the content-addressed store, hash-verified

429 return self._metrics[c].width
430
431 def get_width_from_char_name(self, name: str) -> float:
432 """Get the width of the character from a type1 character name."""
433 return self._metrics_by_name[name].width
434
435 def get_kern_dist_from_name(self, name1: str, name2: str) -> float:
436 """

Callers 1

draw_textMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected