'This creates a new font object, it uses ubuntu as the default font
To give it a custom font you can just pass the absolute path
to the truetype font file.'

def __init__(self, fontface='ubuntu', fontsize=16):

    self.setSize(fontsize)
    self.setFont(fontface)
