Closed leotrs closed 3 years ago
Right now, the usage in manim/mobject/svg/text_mobject.py is this:
manim/mobject/svg/text_mobject.py
if sys.platform.startswith("linux"): manimpango.unregister_font() else: manimpango.unregister_font(str(file_path))
It would be nice to pull this check into unregister_file itself.
unregister_file
Two things: Either:
(doing this is very simple and I will make a PR soon. Just need a plan on what to do)
Number 2 sounds like it breaks fewer things so let's go with that.
Right now, the usage in
manim/mobject/svg/text_mobject.py
is this:It would be nice to pull this check into
unregister_file
itself.