davatron5000 / FitText.js

A jQuery plugin for inflating web type
http://fittextjs.com
6.75k stars 1.39k forks source link

The text size is not the same when browser resized and after this maximized! #21

Closed FoxKllD closed 10 years ago

FoxKllD commented 12 years ago

For example, I set min. text-size to 12 and max to 25. When page loads the font-size is near 19px but when I resize browser and after maximize browser the font is 25px! here is the code: $("a").fitText(1, { minFontSize: 12, maxFontSize: 25 });

davatron5000 commented 10 years ago

Closing due to no reduced test case, but from the description it appears that the plugin was working as intended and the browser was opened at a width which resulted in the calculation of 19px.