Skip to content

Creating Text Mobject retrieves TypeError (manimpango.text2svg has incorrect argument typing) #106

@mkashirin

Description

@mkashirin

Hello.
I'm having a trouble rendering a Text Mobject. An attempt of creating a Text Mobject retrieves TypeError because manimpango.text2svg function has incorrect argument typing (size: int, line_spacing: int istead of both being float). Traceback is represented on screenshots attached.
The problem is I just don't know how to save any type of changes made to them .pyx files.

Steps to reproduce the problem:

  1. install Anaconda 3 on Windows 11 Pro;
  2. install Manim with the following command conda install -c conda-forge manim on Conda's Python 3.11.6;
  3. try to run the code from the Screenshot 1 or render the text typing manim -pqh scene.py TextAnimation.

Screenshots:
screenshot 1: Снимок экрана 2023-10-13 191126;
screenshot 2: Снимок экрана 2023-10-13 191315.

Thanks for your response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions