After using math font package in tex_template of ManinGL, the TexText cannot displayed correctly,
未關閉
bug
- 主要語言
- Python
- 星號
- 93.9k
- 分支
- 7.7k
- 平均合併
- 2 天 13 小時
- 30 天內合併 PR
- 4
描述
### Describe the bug
After using math font package in tex_template of ManinGL,such as “\usepackage{fourier}”,
once I use the latex command that involves changing words size, the TexText will be displayed incorrectly,
such as “$x^{y}$ ”, “ $x_{y}$”, ”{\small $x$}+$y$".
I inspect the (.svg) file it outputs.
the result is correct.
So I think it is a displayed bug
**Code**:
**Wrong display or Error traceback**:
### Additional context
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
查看 manim 中的 TexText 渲染代碼,可能在 tex 模組中。該問題涉及像 fourier 這類字型套件影響 SVG 中的 LaTeX 輸出。先用一個使用 tex_template 的簡單腳本重現該錯誤。檢查產生的 SVG,查看數學在螢幕上與檔案中是如何錯誤渲染的。檢查 manim 如何處理 LaTeX 的字型變更和縮放命令。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- latex, tex
- 領域
- computer-graphics, data-visualization
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100