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 licensed 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.3.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file manim_fonts-0.3.0.tar.gz.

File metadata

  • Download URL: manim_fonts-0.3.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.2.0-1018-azure

File hashes

Hashes for manim_fonts-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0ec8ea4e535d6abdf096328103d87c5f84098c26f8cc96f2232a58e6406dec24
MD5 105804060e2a2965d0cce9bdff99deb7
BLAKE2b-256 f269a64149010c9db52cde9644fb44be1546de65c79e7cf6290ee4672f70c64c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: manim_fonts-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.2.0-1018-azure

File hashes

Hashes for manim_fonts-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 284b480295f96bc9392f71a512e69755e1992c4c88e6e10f476dce5b4c365e07
MD5 b40e63a10228dab0a9cfd1c77b08dcf3
BLAKE2b-256 6818ea3f37ae6db79c8b5ef4615512344e9796c6813ba51e64a8dce042cc46ba

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