Add Font::getWidth() metric method.