Get the width of the character from a type1 character name.
(self, name: str)
| 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 | """ |