-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Description
Description of bug / unexpected behavior
When I add a Chinese character in Tex, it works fine. However, if I add a Chinese charactor into a MathTex, it just disappear.
Expected behavior
Chinese character appears in MathTex, just like in Tex.
How to reproduce the issue
Code for reproducing the problem
from manim import *
class CreateCircle(Scene):
def construct(self):
tex = MathTex('\Omega _{Hello你好}', tex_template=TexTemplateLibrary.ctex)
self.add(tex)
However, Tex works fine
from manim import *
class CreateCircle(Scene):
def construct(self):
tex = Tex('你好', tex_template=TexTemplateLibrary.ctex)
self.add(tex)
Logs
Terminal output
> manim -pql .\scene.py
Manim Community v0.16.0.post0
[10/01/22 23:51:50] INFO scene_file_writer.py:728
File ready at
'C:\Users\lxyan\programs\Python\Manim\hello_manim\media\images\
scene\CreateCircle_ManimCE_v0.16.0.post0.png'
INFO Rendered CreateCircle scene.py:240
Played 0 animations
INFO Previewed File at: file_ops.py:224
'C:\Users\lxyan\programs\Python\Manim\hello_manim\media\images\scene\Cre
ateCircle_ManimCE_v0.16.0.post0.png'
System specifications
System Details
- OS: Windows 10 21H2
- RAM: 16G
- Python version: Python 3.10.7
- Installed modules:
Package Version
------------------- ------------
autopep8 1.7.0
certifi 2022.9.14
charset-normalizer 2.1.1
click 8.1.3
click-default-group 1.2.2
cloup 0.13.1
colorama 0.4.5
colour 0.1.5
commonmark 0.9.1
decorator 5.1.1
glcontext 2.3.6
idna 3.4
isosurfaces 0.1.0
lxml 4.9.1
manim 0.16.0.post0
manim-pptx 0.1.6
ManimPango 0.4.1
mapbox-earcut 0.12.11
moderngl 5.6.4
moderngl-window 2.4.2
multipledispatch 0.6.0
networkx 2.8.6
numpy 1.23.2
Pillow 9.2.0
pip 22.2.2
pycairo 1.21.0
pycodestyle 2.9.1
pydub 0.25.1
pyglet 2.0a4
Pygments 2.13.0
pyrr 0.10.3
python-pptx 0.6.21
requests 2.28.1
rich 12.5.1
scipy 1.9.1
screeninfo 0.8.1
setuptools 63.2.0
six 1.16.0
skia-pathops 0.7.2
srt 3.5.2
toml 0.10.2
tqdm 4.64.1
unvcode 1.0.0
urllib3 1.26.12
watchdog 2.1.9
XlsxWriter 3.0.3
FFMPEG
Output of ffmpeg -version:
ffmpeg version 5.1.2-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-shared --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf
--enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
Additional comments
Metadata
Metadata
Assignees
Labels
No labels





