fixes #1 checks to see if max/min font-sizes are set before using them