STRML / textFit

A jQuery-free component that quickly fits single and multi-line text to the width (and optionally height) of its container.
https://textfit.strml.net
642 stars 122 forks source link

Fixes text never having an odd size: Issue #26 #37

Closed ahobsonsayers closed 5 years ago

ahobsonsayers commented 5 years ago

Fixes issues #26: Text shrinks more than necessary (AKA no odd font-sizes?)

Code provided with permission from @alpha-and-omega