Figma Support Forum

Ability to measure font bounding boxes by cap height and not descenders?

Hey Everyone! :grin:

Question around type/fonts for design systems.
Our engineers are experimenting with some CSS magic that removes the unwanted white space that renders around a font in web browsers. They are doing this so that we can get consistent spacing when stacking text blocks with other components (something we designers have to do a little more manually).

They do this by measuring the space between text elements using cap height rather than descender. So my question is…

Is there anyway to configure Figma to measure the bounding box around text using cap height not descender? If not has anyone experienced this in the past and found a work around?

Hope I’m making sense :sweat_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.