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. On Linux it is aliased to unregister_font() and on Windows and macOS this would work only when using fontconfig backend.

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