Get the width of the character code from the character metric WX field.
(self, c: CharacterCodeType)
| 425 | return cast(GlyphIndexType, c) |
| 426 | |
| 427 | def get_width_char(self, c: CharacterCodeType) -> float: |
| 428 | """Get the width of the character code from the character metric WX field.""" |
| 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.""" |