(self, default_font_prop: FontProperties, load_glyph_flags: LoadFlags)
| 813 | _sans = False |
| 814 | |
| 815 | def __init__(self, default_font_prop: FontProperties, load_glyph_flags: LoadFlags): |
| 816 | TruetypeFonts.__init__(self, default_font_prop, load_glyph_flags) |
| 817 | for key, name in self._fontmap.items(): |
| 818 | fullpath = findfont(name) |
| 819 | self.fontmap[key] = fullpath |
| 820 | self.fontmap[name] = fullpath |
| 821 | |
| 822 | def _map_virtual_font(self, fontname: str, font_class: str, |
| 823 | uniindex: CharacterCodeType) -> tuple[str, CharacterCodeType]: |