Return a unique id for the given font and glyph index.
(self, font, glyph)
| 40 | return LoadFlags.NO_HINTING |
| 41 | |
| 42 | def _get_glyph_repr(self, font, glyph): |
| 43 | """Return a unique id for the given font and glyph index.""" |
| 44 | return urllib.parse.quote(f"{font.postscript_name}-{glyph:x}") |
| 45 | |
| 46 | def get_text_width_height_descent(self, s, prop, ismath): |
| 47 | fontsize = prop.get_size_in_points() |
no outgoing calls
no test coverage detected