Skip to main content

Use Fonts from Internet With Manim.

Project description

Manim Fonts

Get fonts on the fly from the internet which can be used with Manim.

PyPI Latest Release Code style: black GitHub license

Example

from manim import *
from manim_fonts import *
class Example(Scene):
    def construct(self):
        with RegisterFont("Poppins") as fonts:
            a=Text("Hello World",font=fonts[0])
            self.play(Write(a))

You can replace Poppins with any font available on Google Fonts for example RegisterFont("Berkshire Swash"), and this plugin will download that font and add to search path and returns the font names that can be passed to Text to directly to use the fonts.

The fonts downloaded are cached and are reused.

License

This project is license under BSD 3-Clause License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

manim-fonts-0.2.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

manim_fonts-0.2.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file manim-fonts-0.2.0.tar.gz.

File metadata

  • Download URL: manim-fonts-0.2.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.10 Linux/5.4.0-1047-azure

File hashes

Hashes for manim-fonts-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f918b6723d2e776f65fab01f4e6fb513700b934c7593f9d480c09681bd9ae70b
MD5 1767f1f74c04188108ad99bf720cad55
BLAKE2b-256 d9036afceb6b43ba4d8b486f32b206a8b054c062566415315a1c785e02d1ea4b

See more details on using hashes here.

File details

Details for the file manim_fonts-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: manim_fonts-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.10 Linux/5.4.0-1047-azure

File hashes

Hashes for manim_fonts-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ee3550a51b1e09b49affb62a6c939417ffc1b696ee66e39df48d8fafe4910d0
MD5 b97608b72c7c138c44592ac88fdf8db7
BLAKE2b-256 6d8f4ea17bae26409abc18438ce8efbe04b4ba51c09aed48e67000a9a17213fe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page