This is the inverse of Determine Label Size based upon amount of text and font size in Winforms/C#.
Given a rectangle of fixed height but variable width, is there an efficient way to determine the largest size of a given font that will fit in the rectangle (height-wise) without risk of losing ascenders/descenders?
I'm currently considering iterative use of MeasureString() to find the best font size but wonder if there's a better way.