mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Merge pull request #1395 from naveen521kk/patch-6
register_font is available for macOS
This commit is contained in:
commit
1d0b864001
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue