Issues with Text and Cairo
See original GitHub issueThis is probably a bug with Cairo rather than ManimCE so this might not be something you can really fix, but there are at least a couple oddities that happen when trying to use the Text command:
- Characters in the Supplemental Planes (i.e. with Unicode code points 0x10000 or more) are taken to be mod 0x10000 instead. For example, characters 0x20100 and 0x10100 both display as Ā, whose code point is 0x100.
- Right-to-left text isn’t supported. For example, if Arabic text is given, every character is in its isolated form, written from left to right.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
bad rendering showing text with CAIRO_ANTIALIAS_BEST
I can reproduce the problem. I took a quick look at this has "something" to do with _render_glyph_outline() in src/cairo-ft-font.c. Ignoring the ...
Read more >can't render text in cairo - Stack Overflow
The answer below does not - but it seems you are drawing with white color, is this intended (this turned out to be...
Read more >Cairo.jl's text interface #161 - GitHub
I'm puzzled by the text handling in Cairo.jl, and seek enlightenment. ... cormullion opened this issue on Sep 22, 2016 · 2 comments....
Read more >Artifacts when redrawing text with --enable-system-cairo
Just as I was entering this bug, the problem showed each time I would make a spelling mistake and this text box had...
Read more >text: Cairo: A Vector Graphics Library
That means for example that most complex scripts like Hebrew, Arabic, and Indic scripts are out of question. No kerning or correct positioning...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The Pango description says that it supports native font handling in all of windows, mac, and linux. But that may be too much work, and we may just want to wait until Cairo is out…
I am taking over implementing Pango with Manim using binding pangocffi https://pangocffi.readthedocs.io/en/latest/ pangocairocffi https://pangocairocffi.readthedocs.io/en/latest/