From ba3bb64bce01b66ffcad326a5a3e26a8d6682119 Mon Sep 17 00:00:00 2001 From: Naveen M K Date: Fri, 19 Feb 2021 00:49:50 +0530 Subject: [PATCH 1/3] register_font is available for macOS https://github.com/ManimCommunity/ManimPango/pull/26 --- manimlib/mobject/svg/text_mobject.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manimlib/mobject/svg/text_mobject.py b/manimlib/mobject/svg/text_mobject.py index b7844ba8..6e6f3761 100644 --- a/manimlib/mobject/svg/text_mobject.py +++ b/manimlib/mobject/svg/text_mobject.py @@ -240,8 +240,8 @@ def register_font(font_file: typing.Union[str, Path]): ----- This method of adding font files also works with :class:`CairoText`. .. important :: - This method isn't available for macOS. Using this - method on macOS will raise an :class:`AttributeError`. + This method is available for macOS for ``ManimPango>=v0.2.3``. Using this + method with previous releases will raise an :class:`AttributeError` on macOS. """ input_folder = Path(get_downloads_dir()).parent.resolve() From 9c23a5feef2ba9af36ccaca3823eef7716e892d8 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Thu, 9 Jul 2020 13:29:50 +0100 Subject: [PATCH 2/3] remove unused requirement --- requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ddcf84e8..c5f049a0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,6 @@ argparse colour numpy Pillow -progressbar scipy sympy tqdm From c92b6dbd0bf00e23d8246ea01f1f5c44d9295233 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Thu, 9 Jul 2020 13:37:29 +0100 Subject: [PATCH 3/3] correct ascii fallback --- manimlib/scene/scene.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manimlib/scene/scene.py b/manimlib/scene/scene.py index 00fa998a..eb49b23a 100644 --- a/manimlib/scene/scene.py +++ b/manimlib/scene/scene.py @@ -272,7 +272,7 @@ class Scene(object): times, total=n_iterations, leave=self.leave_progress_bars, - ascii=False if platform.system() != 'Windows' else True + ascii=True if platform.system() == 'Windows' else None ) return time_progression