SourceClass FontDefinitions
from egui import FontDefinitionsclass FontDefinitions:Describes a set of pre-configured fonts.
These are the fonts epaint will use first, before falling back to any system fonts (if configured).
This is how you install your own custom fonts:
Methods§
def append_to_family(self, /, family: FontFamily, name: str) -> None§
@staticmethod
def builtin_font_names() -> list[str]§
def clear_family(self, /, family: FontFamily) -> None§
def contains_font_data(self, /, name: str) -> bool§
@staticmethod
def default() -> FontDefinitions§
Source@staticmethod
def empty() -> FontDefinitions§
No fonts.