Calculates the pivot length and padding based on font metrics