I had always known that font size is related to height of the text: What is Font Size?
A font is often measured in pt (points). Points dictate the height of the lettering.
(In my mind, I always it was the height of the letter "M", probably because of "em" size, but it turns out "em" was defined against the width of the letter "M" in the obsolete alternative definition)
Anyways - trying not to make the same mistake as in SVG document units and font size in Inkscape? - I made a document in Inkscape 1.2, changed all units to pt, scale to 1.0; then added text with font size of 12pt, did "Resize to content", and saved:
So, the ultimate size of the document, which is == to the size of the text (the word "Hello"), is 27.3 pt width (makes sense, as this is not a monospaced font, it it to be expected some letters are shorter than "font size" 12 pt, so it is smaller than num_letters*12) ... and 9.24 pt height - which is smaller than font size (12pt), even though I have a capital letter "H" there?
So, what is the actual meaning of font size in Inkscape/SVG? Obviously it is not the height of "M" (nor the width, as it is approximately square). Is there any relation of font size to any visual aspect of any letter? (e.g. "font size specifies 75% of the height of capital letter "A"", or whatever)?