added option to use em units for min and max font