Set the Size of Text Exactly (based on cap or x-height)
I noticed on our forums that someone needed to set the font size of some text to an exact amount. The topic of font size has always been confusing for people because 72-point text is certainly not 72 points (1 inch) tall! Rather, it’s almost always smaller than that, though in some fonts it may even be larger.
Fortunately, there’s a free script you can use to set the size of text to a specific amount, called SetVisualCharSize.jsx, written by Gerald Singelmann. You can find the script on Gerald’s blog (which is in German). Or if that site is down for any reason you can download it here. The script’s dialog box will appear in English on an English system, or German on a German system… I don’t know what it will do in any other language!
When you select some text and run the script, it asks how high you want a specific character. For example, if you choose the word “Moose” and you want the capital M to be 3p tall, you can type “M” and “3p”. If your art director says “set the x-height to be 17 pt” you can type an x and 17 pt. It’s as easy as that!
(For more information on installing scripts, see this article.)