3b1b / 3b1b/manim

Arabic text with less than 3 characters is not displayed

Open
#2,164 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
93.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

### Bug description

Arabic text is correctly displayed when the number of characters is equal or more than 3. But with 1 or 2 characters nothing is displayed.

For example:
```python

word = Text("صفي", font_size=96, font="Arial") # displayed
word = Text("في", font_size=96, font="Arial") # not displayed /!\
```

**Code**:

Following code display nothing
```python
class TextTransformExample(Scene):
def construct(self):
word = Text("في", font_size=96, font="Arial")

self.play(Write(word))
self.wait()
```

I tried changing the font, but it seems that the problem is not related to the font

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.