Added support for greater than two fonts.