Calculate typographica ratios