    def __del__(self):
        """Clean a font configuration for a document."""
        if self._folder:
            rmtree(self._folder, ignore_errors=True)
Clean a font configuration for a document.
weasyprint/text/fonts.py