bugfix in font class