(self, size, weight)
| 124 | return w - track |
| 125 | |
| 126 | def cap_height(self, size, weight): |
| 127 | ft, _, _, _ = self._font(weight) |
| 128 | return getattr(ft["OS/2"], "sCapHeight", 700) * size / ft["head"].unitsPerEm |
| 129 | |
| 130 | def outline(self, text, size, weight, start_x, baseline_y, track=TRACK): |
| 131 | ft, cmap, glyphs, hmtx = self._font(weight) |
no test coverage detected