I'm using wkhtmltopdf to create attendee badge which consists of several lines. Each line includes one or more fields like first name, last name, company name, etc.
In some cases the fields text is too long and overflows to second line.
How can I auto adjust the font size so the text in the line fits the badge width?