A community-maintained Python framework for creating mathematical animations.
Some general Fixes
Syrus Dark20e8198a47bf
diff --git a/.github/manimdependency.json b/.github/manimdependency.jsonindex 5be86cade..cd30e6d7b 100644--- a/.github/manimdependency.json+++ b/.github/manimdependency.json@@ -1,7 +1,7 @@{- "windows": {- "sox": "sox-14.4.2-win32",- "ffmpeg": "https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-4.3.1-2020-09-16-full_build.zip",- "pango": "v0.1.0"- }+ "windows": {+ "sox": "sox-14.4.2-win32",+ "ffmpeg": "https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-4.3.1-2020-09-16-full_build.zip",+ "pango": "v0.1.0"+ }}diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 3fcce6b5a..955e8bc0a 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -16,7 +16,7 @@ jobs:fail-fast: falsematrix:os: [ubuntu-latest, macos-latest, windows-latest]- python: [3.6, 3.7, 3.8]+ python: [3.6,3.7, 3.8]steps:- name: Checkout the repositorydiff --git a/docs/source/changelog.rst b/docs/source/changelog.rstindex dc06363cb..8dd4cd098 100644--- a/docs/source/changelog.rst+++ b/docs/source/changelog.rst@@ -60,7 +60,7 @@ Mobjects, Scenes, and Animations#. The :code:`Container` class has been made into an AbstractBaseClass, i.e. in cannot be instantiated. Instead, use one of its children classes#. The ``TextMobject`` and ``TexMobject`` objects have been deprecated, due to their confusing names, in favour of ``Tex`` and ``MathTex``. You can still, however, continue to use ``TextMobject`` and ``TexMobject``, albeit with Deprecation Warnings constantly reminding you to switch.#. Add a :code:`Variable` class for displaying text that continuously updates to reflect the value of a python variable.-+#. Add ``PangoText`` for rendering texts using Pango.Documentationdiff --git a/docs/source/installation/mac.rst b/docs/source/installation/mac.rstindex f1ec6aa8d..c1976994b 100644--- a/docs/source/installation/mac.rst+++ b/docs/source/installation/mac.rst@@ -15,6 +15,16 @@ To install cairo:brew install cairo+To install Pango and it dependencies:++.. code-block:: bash++ brew install pkg-config+ brew install libffi+ brew install pango+ brew install glib++To install ffmpeg:.. code-block:: bashdiff --git a/docs/source/installation/win.rst b/docs/source/installation/win.rstindex 6fcdbb2f4..6c9695e45 100644--- a/docs/source/installation/win.rst+++ b/docs/source/installation/win.rst@@ -20,13 +20,17 @@ And then you can skip all the other steps and move to installing :ref:`latex-insPango Installation******************-These steps would get you `libpango-1.0-0.dll` to your ``PATH`` along with other dependencies. You may probably have them before itself if you have installed `GTK <https://www.gtk.org/>`_ or any ``GTK`` based app like emacs. If you have it you can just add it to your path and skip these steps.+These steps would get you `libpango-1.0-0.dll` to your ``PATH`` along+with other dependencies. You may probably have them before itself if+you have installed `GTK <https://www.gtk.org/>`_ or any ``GTK``+based app like emacs. If you have it you can just add it to your+path and skip these steps.1. Go to `Release Page- <https://github.com/ManimCommunity/manim-windows/releases/latest>`_ and download the one according- to your PC architechture.+ <https://github.com/ManimCommunity/manim-windows/releases/latest>`_+ and download the one according to your PC architechture.- .. important:: Please download the ``zip`` file for architechtureof python installed.+ .. important:: Please download the ``zip`` file for architechture of python installed.It is possible to have installed ``x86`` python on ``x64`` PC.2. Extract the zip file using File Explorer or 7z to the loaction you want to install.diff --git a/tests/test_pango.py b/tests/test_pango.pyindex b4deeab4c..4bc6f5e25 100644--- a/tests/test_pango.py+++ b/tests/test_pango.py@@ -122,6 +122,3 @@ def test_tabs_replace():surface.finish()b = SVGMobject(filename)assert len(a.submobjects) == len(b.submobjects)---test_tabs_replace()