I'm using DrawText to output some text (duh!) to a PictureBox. But first, I call it using DT_CALCRECT so I can know the dimension of the text so I can center it, but this does not work very well, because for example, DrawText returns 13 as the height, but if I manually measure the height of the text in MSPaint, the height is 11.

BTW, I must center the text manually, i.e., without using centering parameters in DrawText.

Thanks in advance.