Added support for custom fonts