gws.lib.font

Source code: gws.lib.font

Package Contents

class gws.lib.font.Config(*args, **kwargs)

Bases: gws.Config

Custom fonts configuration.

dir: gws.DirPath

directory with custom fonts

gws.lib.font.configure(cfg: Config)
gws.lib.font.install_fonts(source_dir)
gws.lib.font.from_name(name: str, size: int)