'WARNING: The file you are adding must have execute permissions or
windows will fail to add it. (ls -l in cygwin to check)'

def add_system_font(self, path):

    if isbytestring(path):
        path = path.decode(filesystem_encoding)
    path = os.path.abspath(path)
    ret = self.w.add_system_font(path)
    if (ret > 0):
        atexit.register(self.remove_system_font, path)
    return ret
