3b1b / 3b1b/manim

Long Text being cut down

Abierto
#1,833 4 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
93.8k
Forks
7.7k
Métricas de merge de PR
Métricas de PR pendientes

Descripción

### Describe the bug
In ManimGL v1.6.1 with manimpango v0.4.1, when passing a long string to `Text`, parts outside the screen are cut.

**Code**:
```py
class Textbug(Scene):
def construct(self):
text = "The study of this language does not require a bulky knowledge of numerous parts of mathematics; although some preliminary acquaintance with calculus and algebra is more than welcome."
text_box = Text(text, font="Consolas").scale(0.7)
self.add(text_box)
```

**Wrong display or Error traceback**:

![Textbug](https://user-images.githubusercontent.com/86904416/175030907-b8928ff6-8705-4745-8e08-97dd9ef28669.png)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Look at the Text class in manim, likely in manim/mobject/svg/text_mobject.py or similar. The bug is about text rendering and clipping; start by understanding how manimpango renders text and where the clipping occurs. Check the scene's camera or viewport settings. Run the provided example to reproduce the issue, then trace through the rendering pipeline to see where the text gets cut off.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
computer-graphics
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
55/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.