introduce Font class and get rid off all warnings