Script of the Month: Adjust Kerning
Take control of the kerning in your InDesign documents with this powerful script

This article appears in Issue 150 of InDesign Magazine.

It’s safe to say that few InDesign users who made the switch from QuarkXPress ever regretted it. But there are some important features that QuarkXPress has offered for decades that InDesign still lacks. Take kerning, for example. Sure, you can manually kern text in InDesign to your heart’s delight. You can even apply some limited kerning to text via character styles. But a much more powerful solution is to define kerning pairs to automatically adjust the spacing between specific characters in specific fonts. Sadly (and rather inexplicably), InDesign has never offered the ability to edit kerning pairs. Fortunately, there’s a powerful scripted solution.
The script was written by Peter Kahrel, and you can download it and read the full set of instructions here at CreativePro.
To use the script, you first need to set up plain text files named for the fonts whose characters you wish to kern. In those text files, you put the names of the font style (e.g., regular, bold, italic) followed by the kerning instructions. Each set of instructions includes a character pair followed by the kerning value you wish to apply between those characters.

Default kerning in Josefin Slab Bold and Italic, before running the script

height=”277″ /> Text file used to apply kerning between five character pairs in two different styles

Custom kerning in Josefin Slab Bold and Italic applied by the script
The script also offers advanced features that go way beyond what you can do with simple kerning pairs, such as the use of GREP wildcards, kerning characters in different styles, kerning the first character in a paragraph, kerning a series of identical characters, and kerning across spaces. There’s even a method for harvesting kerning data from manually kerned text.Â
If you regularly find yourself kerning text in InDesign (or don’t because it’s too much hassle), you need this script!
Commenting is easier and faster when you're logged in!
Recommended for you

Illustrator Downloadable: Tropical Shadow Overlay Kit
This downloadable package comes with two Illustrator files containing 14 symbols...

Illustrator Downloadable: Summer Citrus Pattern Set
Downloadables are an exclusive benefit for CreativePro members! (Not a member ye...

InDesign Downloadable: Tables SuperGuide
Downloadables are an exclusive benefit for CreativePro members! (Not a member ye...