r/indesign • u/Proficio_Tremblay • 2h ago
Turning a "WTF" to "Wow, That’s Fixed!"
A few days ago my phone rang. It was a client.
"WTF is going on with Adobe, Jean-Claude? Please come to my office."
When I got there, the problem was easy to see. Their product catalog, more than 300 pages across several InDesign documents, had shifted. Every line of text had moved down, in text frames and in table cells. Nobody had touched the files.
So what changed? The font.
It was an Adobe Fonts typeface, activated through Creative Cloud. Adobe had released a update version of it, and the new version exact same name had a much taller ascender. The documents used Ascent as the First Baseline Offset, so InDesign did exactly what it was told. It measured from the new, taller ascender and pushed the first line of every frame and cell down. Imagine the nightmare...
The good news: in the original version, the ascender was almost the same height as the cap height. Switching First Baseline to Cap Height would put everything back where it was.
For text frames, that's easy. You can edit the [Basic Text Frame] object style, or run a Find/Change Object. But neither one reaches table cells. Cells have their own First Baseline setting, and a catalog has a lot of cells.
So I wrote a script to fix everything in one pass.
The next morning, same client, same three letters:
“WTF, Jean-Claude.” Only this time it meant: Wow, That’s Fixed!
The first version was built for that one client. No options, it just did the job. Now that I'm giving it away for free, it made sense to let you decide how it works on your own files. That's why you'll find all these checkboxes.
Free download of [Ascent to Cap Height 1.0]
https://payhip.com/b/rNDQB
