Calculate font size based on height