Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

register_font is available for macOS (#1044)

Naveen M K564e89b1e8f4
diff --git a/manim/mobject/svg/text_mobject.py b/manim/mobject/svg/text_mobject.py
index 20e906856..9bc504dc9 100644
--- a/manim/mobject/svg/text_mobject.py
+++ b/manim/mobject/svg/text_mobject.py
@@ -1429,8 +1429,8 @@ def register_font(font_file: typing.Union[str, Path]):
.. 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(config.input_file).parent.resolve()