ManimPango provides Python bindings for the Pango text layout library, specifically designed to integrate with the Manim animation engine for advanced text rendering. It allows Manim users to leverage Pango's rich text features, font handling, and internationalization capabilities. The current version is 0.6.1, and the library is actively maintained with frequent minor releases addressing Python version compatibility, OS-specific build issues, and Pango library updates.
pip install manimpangoVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to list available system fonts and create a `FontDescriptor` using ManimPango. While `register_font` is a key feature, it's commented out as it requires a specific font file path which is not universally available for a quickstart example. It requires Python 3.8+.
Upgrade your Python environment to 3.8 or higher. The current version requires Python >=3.8.
Upgrade your macOS operating system to 10.13 or newer. Alternatively, you may need to compile from source, ensuring your system's Pango version is compatible, though this is not officially supported for older macOS versions.
Ensure Pango, Cairo, and their development headers are installed on your Linux system. For Debian/Ubuntu: `sudo apt-get install libpango1.0-dev libcairo2-dev`. For Fedora: `sudo dnf install pango-devel cairo-devel`.
Refer to the ManimPango documentation or source code for the exact changes to `register_font` if you encounter issues on Windows after upgrading to 0.6.0 or newer. Typically, this involves ensuring correct path handling and argument types.
No dependency data recorded yet.