ManimCommunity / ManimCommunity/manim
[BUG] Some characters exhibit abnormalities under the OpenGL renderer.
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
Some characters exhibit abnormalities under the OpenGL renderer. Everything is normal under the Cairo renderer.
Code for reproducing the problem
```py
class BugReport02(Scene):
def construct(self):
mathtex = MathTex(r'\text{MathTex: 波源相对于介质运动,}v_s', font_size=70, tex_template=TexTemplateLibrary.ctex)
text = Text(r'Text: 波源相对于介质运动', font_size=70, ).next_to(mathtex, UP)
tex = Tex(r'Tex: $v_S,u_S, w, \omega$', font_size=70).next_to(mathtex, DOWN)
self.add(mathtex, text, tex)
```
Cairo:

OpenGL:


## System specifications
System Details
- OS Windows 11
- RAM: 64GB
- Python version : Python 3.10
LaTeX details
+ LaTeX distribution: TeX Live 2024
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the supplied BugReport02 reproduction using the Chinese text, MathTex, Text, and Tex under both Cairo and OpenGL. Compare the rendered output and trace the OpenGL rendering path for the affected characters; done means the characters render normally under OpenGL as they do under Cairo.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- latex, python
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100