# Dynamic Leading Tester

The aim of this “web app” is to find the ideal line-height for a specified font.

The formula used is `(1em + (2ex - 1ch) - ((1rem - 16px) * 0.1667)) * compensation factor` but isn’t obviously bulletproof; you should test different compensation factors and judge what the best result is visually.

In the top right inputs, first pick a font-family, then a font-size, then a compensation factor. Once you’re happy with the result, you can write values (i.e. computed styles) in a pseudo console if needed.

Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to my shirt with my name printed on it? Do you see a little Asian child with a blank expression on his face sitting outside on a mechanical helicopter that shakes when you put quarters in it?

No? Well, that's what you see at a toy store. And you must think you're in a toy store, because you're here shopping for an infant named Jeb.

The path of the righteous man is beset on all sides by the iniquities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy My brothers. And you will know My name is the Lord when I lay My vengeance upon thee.