Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fix CairoText (#858)

Christian Coenen71181f08e16b
diff --git a/manim/mobject/svg/text_mobject.py b/manim/mobject/svg/text_mobject.py
index 29d98e4b4..febcca661 100644
--- a/manim/mobject/svg/text_mobject.py
+++ b/manim/mobject/svg/text_mobject.py
@@ -207,7 +207,11 @@ class CairoText(SVGMobject):
height=height,
width=width,
unpack_groups=unpack_groups,
- color=color ** config,
+ color=color,
+ fill_opacity=fill_opacity,
+ stroke_width=stroke_width,
+ should_center=should_center,
+ **kwargs,
)
self.text = text
self.submobjects = [*self.gen_chars()]