Changing fonts in "Text" does not work
See original GitHub issueHi, maybe it is only on my system (Ubuntu 20.04), but using this example:
class Example5Text(Scene):
def construct(self):
text = Text('Hello world', font='Source Han Sans').scale(3)
self.add(text)
should give this result:
(image is taken from https://github.com/3b1b/manim/pull/680)
However, when I run it on my machine, it only renders the text with the default font.
To distinguish the default font from Source Han Sans, note that the “ll” has no small arc at the bottom in the default font.
Issue Analytics
- State:
- Created 3 years ago
- Comments:23 (23 by maintainers)
Top Results From Across the Web
I Try To Change The Font, But It Doesn't Always Work! (4/30/12)
Click first to place the insertion point (or click-and-drag first to select some text), then change the font.
Read more >I can`t change the font for writing - Google Groups
Type in--or select--your font. Click "Default." That should set whatever font you designate as your default font.
Read more >Word does not change entire body of text to desired font
The issue occurs with all the files that I have copied and pasted into word. Any files that I type in Adobe Caslon...
Read more >html - Font family does not change in the output - Stack Overflow
In the < h1 > tag, when I change any font family for any block of text (or a division), and open it...
Read more >Fix Weird Font Problem in Windows 10 - YouTube
Fix Weird Font Problem in Windows 10This is a very weird font problem where people are say the main font has been changed...
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
I cannot reproduce this either, looks like you might simply be missing the font.
That’s already being built. I did it while I was documenting it. It is here.