Added support for manually setting the font-size of legend.