How can I get a length, which reflects the hight of a (flat) capital letter?

While `\em` gives me a *width*, `\ex` refers to a *lowercase* letter and `\f@size` refers to the overall fontsize including the ascent and the descent.