ManimCommunity / ManimCommunity/manim

SVGMobject not displaying svg correctly

Open
#4,699 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
40.9k
Forks
3.1k
Avg merge
3d 12h
Merged PRs (30d)
25

Description

## Description of bug / unexpected behavior
When displaying the svg logos of python ([link](https://www.python.org/community/logos/)) using manim, they aren't displayed correctly.

| Original | Manim |
| --- | --- |
| ![](https://github.com/user-attachments/assets/5eba0733-65fc-496f-baba-1df2c24f23fd) | ![](https://github.com/user-attachments/assets/127366d8-c60a-4621-9df4-1d08c3cf7c6f)|

## Expected behavior
The appearance of the SVGs should be the same in the video.

## How to reproduce the issue

Code for reproducing the problem

```py
from manim import *

class Test1(Scene):
def construct(self):
self.add(SVGMobject("python-logo-generic.svg"))

class Test2(Scene):
def construct(self):
self.add(SVGMobject("python-logo-inkscape.svg"))

class Test3(Scene):
def construct(self):
self.add(SVGMobject("python-logo-only.svg"))
```
* [python-logo-generic.svg](https://github.com/user-attachments/assets/5eba0733-65fc-496f-baba-1df2c24f23fd)
* [python-logo-inkscape.svg](https://github.com/user-attachments/assets/cdb84ea0-9072-4d32-898e-3e83031908c8)
* [python-logo-only.svg](https://github.com/user-attachments/assets/7b9fb231-edd5-43eb-9fec-f4f5e66f6e98)

## Additional media files

SVGs

* [python-logo-generic.svg](https://github.com/user-attachments/assets/5eba0733-65fc-496f-baba-1df2c24f23fd) Image
* [python-logo-inkscape.svg](https://github.com/user-attachments/assets/cdb84ea0-9072-4d32-898e-3e83031908c8) Image
* [python-logo-only.svg](https://github.com/user-attachments/assets/7b9fb231-edd5-43eb-9fec-f4f5e66f6e98) Image

Rendered Scenes

* Image
* Image
* Image

## Logs
Terminal output

```console
> manim main.py Test1 Test2 Test3 -qh -v DEBUG
Manim Community v0.20.1

[04/18/26 18:11:19] INFO scene_file_writer.py:904
File ready at 'C:\Users\Rohlfing\Documents\manim-test\media\images\main\Test1_ManimCE_v0.20.1.png'

INFO Rendered Test1 scene.py:278
Played 0 animations
INFO scene_file_writer.py:904
File ready at 'C:\Users\Rohlfing\Documents\manim-test\media\images\main\Test2_ManimCE_v0.20.1.png'

INFO Rendered Test2 scene.py:278
Played 0 animations
INFO scene_file_writer.py:904
File ready at 'C:\Users\Rohlfing\Documents\manim-test\media\images\main\Test3_ManimCE_v0.20.1.png'

INFO Rendered Test3 scene.py:278
Played 0 animations
```

## System specifications

System Details

- OS: `Windows 11 Home - 10.0.26200 Build 26200`
- RAM: 32GB
- Python version (`python/py/python3 --version`): Python 3.14.2
- Installed modules (provide output from `pip list`):
```
```

LaTeX details

+ LaTeX distribution (e.g. TeX Live 2020): `MiKTeX-TeX 4.9 (MiKTeX 26.2)`
+ Installed LaTeX packages:

## Additional comments

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the SVGMobject entry point and reproduce the issue using the three Python-logo SVGs and the Test1, Test2, and Test3 scenes in the report. Compare the rendered scenes with the source SVGs; done means all three logos have the same appearance in the Manim output as in the originals.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
56/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.