ttfont
Uses Modules
os pickle
Classes
class TTFont(object)
Variables
_fonts_cache = {}
info_cache = 'ttf.cache'
Properties
_font = property(fget=_get_font)
ascent = property(fget=get_ascent)
bold = property(fget=get_bold, fset=set_bold)
descent = property(fget=get_descent)
family = property(fget=get_family, fset=set_family)
height = property(fget=get_height)
info = property(fget=classmethod(get_info))
italic = property(fget=get_italic, fset=set_italic)
linesize = property(fget=get_linesize)
slant = property(fget=get_slant, fset=set_slant)
summary = property(fget=classmethod(get_summary))
weight = property(fget=get_weight, fset=set_weight)
Methods
__init__(self, *args, **kvargs)
_add_dir(self, fdir, _info)
_get_file(self, ignore_errors=None)
_get_font(self)
_read_info(self)
TTFont._read_info()

Collect the available font information by using ttmkfdir on all paths in the X font path. Return a dictionary hierarchy Family:Weight:Slant:File
add_fontdir(self, fdir)
families(self)
get_ascent(self)
get_bold(self)
get_descent(self)
get_family(self)
get_height(self)
get_info(*args)
get_italic(self)
get_linesize(self)
get_slant(self)
get_summary(self)
get_weight(self)
render(self, *args, **kvargs)
set_bold(self, bold)
set_family(self, family)
set_italic(self, italic)
set_slant(self, slant)
set_style(self, family=None, size=None, weight=None, slant=None)
set_weight(self, weight)
size(self, *args, **kvargs)
slants(self)
weights(self)
Functions
_showall _showsome
_showall()
_showsome()