much improved fontSize calc; credit atanas