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 tounregister_font()
and on Windows and macOS this would work only when usingfontconfig
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