def __init__(self, text_settings):
        """Store given text settings, perform extra setups."""
        ### store text settings
        self.text_settings = text_settings

        ### create a width map with a reference to this
        ### surface map
        self.width_map = TextWidthMap(self)

        ### create text surfaces to represent some special
        ### characters
        self.create_special_surfs()
Store given text settings, perform extra setups.
nodezator/textman/cache.py