keyboard control bugfix
added support for custom fonts