added font class and debugging methods