Hi there, anyone know why depending on the size of the font used i can’t get the correct height using MeasureString ?
If i use a font Arial, bold, useKerning true and size 16, measurestring is working fine giving the correct width and height of a string paragraph like this one :
“blablablablablablablablablabla” + “\r\n” +
“blublublublublu” + “\r\n” +
“bleblebleblebleblebleble” + “\r\n”;
But if i only change size text to 14, it’s ignoring the returns and considers my paragraph as a line like this :
“blablablablablablablablablabla” + “\r\n” + “blublublublublu” + “\r\n” + “bleblebleblebleblebleble” + “\r\n”;
And so gives me the wrong height and write the ble line onto the blu onto the bla line.because it returns at bottom line at each “\r\n”.