BK-1273 Calculate possible font sizes in the document