manimpango.unregister_font

unregister_font()

This function unregisters(removes) the font file using fontconfig. It is mostly optional to call this. Mainly used in tests. Note: The API for Windows is different that this.

Parameters

font_path (str) – For compatibility with the windows function.

Returns

True means it worked without any error. False means there was an unknown error

Return type

bool