Good question. The three values come from different places:
Top inset and bottom inset: these are set in the frame, not the text. Select the frame and go to Object > Text Frame Options > General > Inset Spacing. Nothing needs to be selected inside the text.
First-line offset: the distance from the top inset to the first baseline. It’s controlled by Text Frame Options > Baseline Options > First Baseline > Offset (Ascent, Cap Height, Leading, x Height, Em Box Height, Fixed). InDesign doesn’t display this number, so it has to be measured. With Ascent it depends on the font and size, roughly ascent ratio × font size.
Descent: the space below the last baseline, which comes from the font’s metrics. InDesign doesn’t show it either.
How to measure them:
- Set the top and bottom insets to 0, use one line of text, and turn on Auto-Size Height (Text Frame Options > Auto-Size). The frame height is then first-line offset + descent. Call it H1.
- Add a second line, so the frame auto-sizes again, and call that H2. Then H2 − H1 = leading, which should match the Leading value in the Character/Control panel for the selected text.
- To split H1 into its two parts, convert a copy of the line to outlines (Type > Create Outlines) and measure from the frame top to the bottom of a flat-bottomed letter like “H”. That distance is the first-line offset (the baseline). Then descent = H1 − first-line offset.
The only values you can read directly from a selected piece of text are the font size and leading in the Control panel. The rest are frame settings or font metrics that have to be measured once per font and size. If that’s too much work, set First Baseline Offset to Leading, or use Auto-Size Height and read the resulting frame height instead of calculating it.
