that's the place to look. I have personal experience with it. Of cource you can set the font size
I would recommend defining all needed definitions. Over the texttoimage.ini
and use it like this. {$content_version.data_map.somevariable.content|texttoimage('customstyle')}
The second option didn't work out right for me too.