def __missing__(self, key):
        """Create, store and return dict for given key.

        That is, the key is a string representing a path
        wherein to find an image to be loaded/rendered
        according to specific render settings.

        Parameters
        ==========
        key (string)
            represents the path wherein to find the image.
        """
        ### we create a surface map for the key, store and
        ### return it

        font_preview_surface_map = self[key] = FontPreviewSurfaceMap(key)

        return font_preview_surface_map
Create, store and return dict for given key.

        That is, the key is a string representing a path
        wherein to find an image to be loaded/rendered
        according to specific render settings.

        Parameters
        ==========
        key (string)
            represents the path wherein to find the image.
        
nodezator/fontsman/preview/cache.py