Find the `FT2Font` matching font properties *prop*, with its size set.
(self, prop)
| 28 | self._texmanager = None |
| 29 | |
| 30 | def _get_font(self, prop): |
| 31 | """ |
| 32 | Find the `FT2Font` matching font properties *prop*, with its size set. |
| 33 | """ |
| 34 | filenames = _fontManager._find_fonts_by_props(prop) |
| 35 | font = get_font(filenames) |
| 36 | font.set_size(self.FONT_SCALE, self.DPI) |
| 37 | return font |
| 38 | |
| 39 | def _get_hinting_flag(self): |
| 40 | return LoadFlags.NO_HINTING |
no test coverage detected