Adds support for automatically adjusting the font size to fit the segment's width. Closes #28