Skip to content

Changing fonts in "Text" does not work #487

@kolibril13

Description

@kolibril13

Hi, 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
(image is taken from 3b1b/manim#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pr:bugfixBug fix for use in PRs solving a specific issue:bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions