Added support for fonts. Still some bugs