<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_font_path(self, path, onerror = None):
 """Set the font path to path, which should be a list of strings. If path is empty, the default font path of the server will be restored."""

        request.SetFontPath(display = self.display,
                            onerror = onerror,
                            path = path)