Return the text width of the given strings for the given font