inflateText.js
inflateText.js copied to clipboard
Height is ignored.
This works really good.But when i set parent to certain height.Then the font you choose based on its width cannot fit to that height and thereforce text overflows parent element.Now, thats sad.
This plugin is definitely missing a test for height. I imagine we could adjust the plugin source here to double-check that the height of the scaled text doesn't exceed the height (if fixed) of the parent container.
This may raise additional issues when parent height isn't fixed, however. We would definitely want to confirm that both cases function as intended before committing such a test to master.