class documentation

class FontManager:

View In Hierarchy

Manages a set of fonts: normal, italic, bold, etc...
Method __init__ Undocumented
Method ​_create​_mac Undocumented
Method ​_create​_nix Undocumented
Method ​_create​_win Undocumented
Method ​_get​_mac​_font​_path Undocumented
Method ​_get​_nix​_font​_path Undocumented
Method ​_lookup​_win Undocumented
Method get​_char​_size Get the character size.
Method get​_font Get the font based on bold and italic flags.
Method get​_text​_size Get the text size(width, height).
Instance Variable encoding Undocumented
Instance Variable font​_name Undocumented
Instance Variable font​_size Undocumented
Instance Variable fonts Undocumented
def __init__(self, font_name, font_size=14):

Undocumented

def _create_mac(self):

Undocumented

def _create_nix(self):

Undocumented

def _create_win(self):

Undocumented

def _get_mac_font_path(self, font_map, name, style):

Undocumented

def _get_nix_font_path(self, name, style):

Undocumented

def _lookup_win(self, key, basename, styles, fail=False):

Undocumented

def get_char_size(self):
Get the character size.
def get_font(self, bold, oblique):
Get the font based on bold and italic flags.
def get_text_size(self, text):
Get the text size(width, height).
encoding =

Undocumented

font_name =

Undocumented

font_size =

Undocumented

fonts: dict =

Undocumented