def __init__(<EOL>self,<EOL>font,<EOL>ufo_module=defcon,<EOL>designspace_module=designspaceLib,<EOL>family_name=None,<EOL>instance_dir=None,<EOL>propagate_anchors=True,<EOL>use_designspace=False,<EOL>minimize_glyphs_diffs=False,<EOL>generate_GDEF=True,<EOL>store_editor_state=True,<EOL>):
self.font = font<EOL>self.ufo_module = ufo_module<EOL>self.designspace_module = designspace_module<EOL>self.instance_dir = instance_dir<EOL>self.propagate_anchors = propagate_anchors<EOL>self.use_designspace = use_designspace<EOL>self.minimize_glyphs_diffs = minimize_glyphs_diffs<EOL>self.generate_GDEF = generate_GDEF<EOL>self.store_editor_state = store_editor_state<EOL>self.bracket_layers = []<EOL>self._sources = OrderedDict()<EOL>self._designspace = self.designspace_module.DesignSpaceDocument()<EOL>self._designspace_is_complete = False<EOL>if int(font.appVersion) < <NUM_LIT>:<EOL><INDENT>self.logger.warning(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>)<EOL><DEDENT>if family_name is None:<EOL><INDENT>self.family_name = self.font.familyName<EOL>self._do_filter_instances_by_family = False<EOL><DEDENT>else:<EOL><INDENT>self.family_name = family_name<EOL>self._do_filter_instances_by_family = True<EOL><DEDENT>
Create a builder that goes from Glyphs to UFO + designspace.

        Keyword arguments:
        font -- The GSFont object to transform into UFOs
        ufo_module -- A Python module to use to build UFO objects (you can pass
                      a custom module that has the same classes as the official
                      defcon to get instances of your own classes)
        designspace_module -- A Python module to use to build a Designspace
                              Document. Default is fontTools.designspaceLib.
        family_name -- if provided, the master UFOs will be given this name and
                       only instances with this name will be returned.
        instance_dir -- if provided, instance UFOs will be located in this
                        directory, according to their Designspace filenames.
        propagate_anchors -- set to False to prevent anchor propagation
        use_designspace -- set to True to make optimal use of the designspace:
                           data that is common to all ufos will go there.
        minimize_glyphs_diffs -- set to True to store extra info in UFOs
                                 in order to get smaller diffs between .glyphs
                                 .glyphs files when going glyphs->ufo->glyphs.
        generate_GDEF -- set to False to skip writing a `table GDEF {...}` in
                         the UFO features.
        store_editor_state -- If True, store editor state in the UFO like which
                              glyphs are open in which tabs ("DisplayStrings").