refine font type and location