font size depends on h and grain