added font functionality