Represents the character metrics of a single character. Notes ----- The fields do currently only describe a subset of character metrics information defined in the AFM standard.
| 178 | |
| 179 | |
| 180 | class CharMetrics(NamedTuple): |
| 181 | """ |
| 182 | Represents the character metrics of a single character. |
| 183 | |
| 184 | Notes |
| 185 | ----- |
| 186 | The fields do currently only describe a subset of character metrics |
| 187 | information defined in the AFM standard. |
| 188 | """ |
| 189 | |
| 190 | width: float |
| 191 | name: str |
| 192 | bbox: tuple[int, int, int, int] |
| 193 | |
| 194 | |
| 195 | CharMetrics.width.__doc__ = """The character width (WX).""" |
no outgoing calls
no test coverage detected
searching dependent graphs…