3b1b / 3b1b/manim

Long Text being cut down

Aberta
#1,833 4 comentários 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
Python
Estrelas
93.9k
Forks
7.7k
Merge médio
2d 13h
PRs com merge (30d)
4

Descrição

### 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)

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Domínio
computer-graphics
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Claramente especificada
Facilidade para iniciantes
55/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.