Quote:The only thing that crossed my mind was to create "dummy font", see if the example text can fit into cell, and then adjust it's size if the test fails
That's a feasible approach indeed. But what do you mean with 'dummy' font? You need to know in advance the exact font you are going to use, otherwise you cannot do a correct calculation (By the way, as a rule of thumnb, while I deal with a proportional font, I use the width of the
character in order to overstate the required line width).
If it is an option, then use a monospaced font, that would simplify a lot your job.
I suppose the blog you linked is a step forward your needs: there good proportions (i.e. pleasant for the eyes) between line height and width are discussed.