def compress(self):

        top_dict = self.font["CFF "].cff.topDictIndex[0]

        multi_font = hasattr(top_dict, "FDArray")

        if not multi_font:
            n_locals = 1
            fdsel = None
        else:
            n_locals = len(top_dict.FDArray)
            fdsel = lambda g: top_dict.CharStrings.getItemAndSelector(g)[1]

        ans = self.iterative_encode(self.font.getGlyphSet(),
                                    fdsel,
                                    n_locals)

        encoding = ans["glyph_encodings"]
        gsubrs = ans["gsubrs"]
        lsubrs = ans["lsubrs"]

        Compreffor.apply_subrs(top_dict, encoding, gsubrs, lsubrs)
Returns the string to print on the console, e.g. ' + Added field foo'
dataset/ETHPy150Open googlei18n/compreffor/compreffor/pyCompressor.py/Compreffor.compress--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/South-1.0.2/south/creator/actions.py/AddModel.console_line