3b1b / 3b1b/manim

Can't display text on Linux Mint 20.3

Ouverte
#2,071 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Python
Étoiles
93.8k
Forks
7.7k
Métriques de merge des PR
Métriques de PR en attente

Description

### Describe the bug

I try to display text but nothing is displayed. The tool (version 1.6.1) is correctly installed since I can display circle, square, ...

**Code**:

```
from manimlib import *

class TextExample(Scene):
def construct(self):
text = Text('Hello, world!')
self.play(Write(text))
```

**Wrong display or Error traceback**:

Nothing is displayed.

### Additional context

I think it's related to Pango but I can't make it work:

* https://github.com/3b1b/manim/pull/680
* https://github.com/ManimCommunity/ManimPango/issues/88
* https://github.com/3b1b/manim/issues/1391

OS: Linux Mint 20.3 Cinnamon
Python: 3.8
Manim: 1.6.1

```
$ pip3 list
Package Version
------------------- -----------
asttokens 2.4.1
backcall 0.2.0
certifi 2023.7.22
charset-normalizer 3.3.2
colour 0.1.5
contourpy 1.1.1
cycler 0.12.1
decorator 5.1.1
executing 2.0.1
ffmpeg-python 0.2.0
fonttools 4.44.0
future 0.18.3
glcontext 2.5.0
idna 3.4
importlib-resources 6.1.1
ipython 8.12.3
isosurfaces 0.1.0
jedi 0.19.1
kiwisolver 1.4.5
manimgl 1.6.1
ManimPango 0.4.0.post0
mapbox-earcut 1.0.1
markdown-it-py 3.0.0
matplotlib 3.7.3
matplotlib-inline 0.1.6
mdurl 0.1.2
meson 1.2.3
moderngl 5.8.2
moderngl-window 2.4.5
mpmath 1.3.0
multipledispatch 1.0.0
ninja 1.11.1.1
numpy 1.24.4
packaging 23.2
parso 0.8.3
pexpect 4.8.0
pickleshare 0.7.5
Pillow 10.1.0
pip 20.0.2
pkg-resources 0.0.0
prompt-toolkit 3.0.39
ptyprocess 0.7.0
pure-eval 0.2.2
pydub 0.25.1
pyglet 2.0.10
Pygments 2.16.1
PyOpenGL 3.1.7
pyparsing 3.1.1
pyrr 0.10.3
python-dateutil 2.8.2
PyYAML 6.0.1
rich 13.6.0
scipy 1.10.1
screeninfo 0.8.1
setuptools 44.0.0
six 1.16.0
skia-pathops 0.8.0.post1
stack-data 0.6.3
svgelements 1.9.6
sympy 1.12
tqdm 4.66.1
traitlets 5.13.0
typing-extensions 4.8.0
urllib3 2.0.7
validators 0.22.0
wcwidth 0.2.9
zipp 3.17.0
```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.