Determines the width (x-extension) of the string s during the representation by means of DRAWSTRING with the font font.