def __init__(self, font, verbose=False, print_status=False, test_mode=False,
                 chunk_ratio=None, nrounds=None, single_process=None,
                 processes=None, nsubrs_limit=None):

        if isinstance(font, TTFont):
            assert "CFF " in font
            assert len(font["CFF "].cff.topDictIndex) == 1
            self.font = font
        else:
            print("Warning: non-TTFont given to Compreffor")
        self.verbose = verbose
        self.print_status = print_status
        self.test_mode = test_mode
        
        if chunk_ratio != None:
            self.POOL_CHUNKRATIO = chunk_ratio
        elif font and len(font["CFF "].cff.topDictIndex[0].charset) < self.CHUNK_CHARSET_CUTOFF:
            self.POOL_CHUNKRATIO = self.LATIN_POOL_CHUNKRATIO
        if nrounds != None:
            self.NROUNDS = nrounds
        if single_process != None:
            self.SINGLE_PROCESS = single_process
        if processes != None:
            self.PROCESSES = processes
        if nsubrs_limit != None:
            self.NSUBRS_LIMIT = nsubrs_limit
Initialize the compressor.
dataset/ETHPy150Open googlei18n/compreffor/compreffor/pyCompressor.py/Compreffor.__init__